mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +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) {
|
||||
// If textures are unset, revert to original textures
|
||||
if (textures == "") {
|
||||
if (textures.isEmpty()) {
|
||||
return _originalTextures;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue