mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:13:29 +02:00
Fixed emtpy texture issue
This commit is contained in:
parent
65387adee8
commit
edb3580520
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ graphics::TextureMapPointer NetworkMaterial::fetchTextureMap(const QUrl& baseUrl
|
||||||
auto textureCache = DependencyManager::get<TextureCache>();
|
auto textureCache = DependencyManager::get<TextureCache>();
|
||||||
NetworkTexturePointer texture;
|
NetworkTexturePointer texture;
|
||||||
if (textureCache) {
|
if (textureCache) {
|
||||||
textureCache->getTexture(url, type, hfmTexture.content, hfmTexture.maxNumPixels, hfmTexture.sourceChannel);
|
texture = textureCache->getTexture(url, type, hfmTexture.content, hfmTexture.maxNumPixels, hfmTexture.sourceChannel);
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "GeometryResource::setTextures: TextureCache dependency not available, skipping textures";
|
qDebug() << "GeometryResource::setTextures: TextureCache dependency not available, skipping textures";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue