mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:23:36 +02:00
fix interstitial domain loading due to bad texture url
This commit is contained in:
parent
b3539b101b
commit
a4b345bb58
1 changed files with 1 additions and 1 deletions
|
@ -551,7 +551,7 @@ graphics::TextureMapPointer NetworkMaterial::fetchTextureMap(const QUrl& baseUrl
|
|||
|
||||
graphics::TextureMapPointer NetworkMaterial::fetchTextureMap(const QUrl& url, image::TextureUsage::Type type, MapChannel channel) {
|
||||
auto textureCache = DependencyManager::get<TextureCache>();
|
||||
if (textureCache) {
|
||||
if (textureCache && !url.isEmpty()) {
|
||||
auto texture = textureCache->getTexture(url, type);
|
||||
_textures[channel].texture = texture;
|
||||
|
||||
|
|
Loading…
Reference in a new issue