summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/lltinygltfhelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltinygltfhelper.cpp b/indra/newview/lltinygltfhelper.cpp
index 58031d4204..05587af9bc 100644
--- a/indra/newview/lltinygltfhelper.cpp
+++ b/indra/newview/lltinygltfhelper.cpp
@@ -259,7 +259,7 @@ bool LLTinyGLTFHelper::getMaterialFromFile(
{
base_color_tex->addTextureStats(64.f * 64.f, TRUE);
material->mBaseColorId = base_color_tex->getID();
- material->mBaseColorTexture;
+ material->mBaseColorTexture = base_color_tex;
}
else
{