mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:16:51 +02:00
Test textures emptiness correctly
This commit is contained in:
parent
830d08c385
commit
848e7703ee
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ int RenderableModelEntityItem::readEntitySubclassDataFromBuffer(const unsigned c
|
||||||
|
|
||||||
QVariantMap RenderableModelEntityItem::parseTexturesToMap(QString textures) {
|
QVariantMap RenderableModelEntityItem::parseTexturesToMap(QString textures) {
|
||||||
// If textures are unset, revert to original textures
|
// If textures are unset, revert to original textures
|
||||||
if (textures == "") {
|
if (textures.isEmpty()) {
|
||||||
return _originalTextures;
|
return _originalTextures;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue