summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-09-22 14:23:07 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-09-22 14:23:07 -0500
commit813acc39feec14b0c78fd9f704b358331ff87896 (patch)
tree5a6368700544714c3cdc6fc6d96fa8980ca0118a
parent360ffff2885bff2f816c099dc414dc126cb7e258 (diff)
SL-20325 Fix for double sided not working.
-rw-r--r--indra/llprimitive/llgltfmaterial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llgltfmaterial.cpp b/indra/llprimitive/llgltfmaterial.cpp
index 8475e7231a..19b7413934 100644
--- a/indra/llprimitive/llgltfmaterial.cpp
+++ b/indra/llprimitive/llgltfmaterial.cpp
@@ -833,7 +833,7 @@ void LLGLTFMaterial::applyOverrideLLSD(const LLSD& data)
}
const LLSD& ds = data["ds"];
- if (data.isBoolean())
+ if (ds.isBoolean())
{
mDoubleSided = ds.asBoolean();
mOverrideDoubleSided = true;