summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-10-26 23:02:49 -0500
committerDave Parks <davep@lindenlab.com>2022-10-26 23:02:49 -0500
commita6da63020729f5e1f2163442fba69a46b04a9289 (patch)
tree42cd29a9b53cef527bae0881061095bd1070de58
parent65eec2ca8fb34fb2aca8e93c8ce6d8e39cfae3e9 (diff)
SL-18469 Fix for material edits only applying to one face.
-rw-r--r--indra/newview/llgltfmateriallist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgltfmateriallist.cpp b/indra/newview/llgltfmateriallist.cpp
index 8210efae96..48f4305ee7 100644
--- a/indra/newview/llgltfmateriallist.cpp
+++ b/indra/newview/llgltfmateriallist.cpp
@@ -119,7 +119,7 @@ namespace
{
S32 side = sides[i].asInteger();
// flag this side to not be nulled out later
- side_set.insert(sides);
+ side_set.insert(sides[i]);
if (!obj || !obj->setTEGLTFMaterialOverride(side, override_data))
{