mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 02:03:57 +02:00
Return parsed tex directly as variant
This commit is contained in:
parent
848e7703ee
commit
6c7b6cd62e
1 changed files with 3 additions and 1 deletions
|
@ -124,7 +124,9 @@ QVariantMap RenderableModelEntityItem::parseTexturesToMap(QString textures) {
|
|||
qCWarning(entitiesrenderer) << "Could not evaluate textures property value:" << _textures;
|
||||
return _originalTextures;
|
||||
}
|
||||
return texturesJson.object().toVariantMap();
|
||||
|
||||
auto parsed = texturesJson.toVariant();
|
||||
return parsed.toMap();
|
||||
}
|
||||
|
||||
void RenderableModelEntityItem::remapTextures() {
|
||||
|
|
Loading…
Reference in a new issue