mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:17:58 +02:00
remove a debug code
This commit is contained in:
parent
637da18e5c
commit
920ab88ef3
1 changed files with 1 additions and 2 deletions
|
@ -506,8 +506,7 @@ void NetworkMaterial::setTextures(const QVariantMap& textureMap) {
|
||||||
|
|
||||||
if (!normalName.isEmpty()) {
|
if (!normalName.isEmpty()) {
|
||||||
auto url = textureMap.contains(normalName) ? textureMap[normalName].toUrl() : QUrl();
|
auto url = textureMap.contains(normalName) ? textureMap[normalName].toUrl() : QUrl();
|
||||||
// auto map = fetchTextureMap(url, NORMAL_TEXTURE, MapChannel::NORMAL_MAP);
|
auto map = fetchTextureMap(url, NORMAL_TEXTURE, MapChannel::NORMAL_MAP);
|
||||||
auto map = fetchTextureMap(url, DEFAULT_TEXTURE, MapChannel::NORMAL_MAP);
|
|
||||||
setTextureMap(MapChannel::NORMAL_MAP, map);
|
setTextureMap(MapChannel::NORMAL_MAP, map);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue