Test textures emptiness correctly

This commit is contained in:
Zach Pomerantz 2016-03-28 18:39:53 -07:00
parent 830d08c385
commit 848e7703ee

View file

@ -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;
}