summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-05-03 13:23:05 -0700
committerBrad Linden <brad@lindenlab.com>2023-05-03 13:30:33 -0700
commit6a812fa1ba9170ba34706d303913cc5aa5f187ac (patch)
treef6573223b451b0c21014ff37beb5a6dfa912e75c /indra/llprimitive
parent3513f67d2c5628eac2ce9aa632a8491bb215a9e8 (diff)
Improved fix for SL-19675 crash. How about just don't refer to data when you don't need it
Diffstat (limited to 'indra/llprimitive')
-rw-r--r--indra/llprimitive/llgltfmaterial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llprimitive/llgltfmaterial.h b/indra/llprimitive/llgltfmaterial.h
index 0bd65fadef..ad7784f6d1 100644
--- a/indra/llprimitive/llgltfmaterial.h
+++ b/indra/llprimitive/llgltfmaterial.h
@@ -167,6 +167,7 @@ public:
// set the contents of this LLGLTFMaterial from the given json
// returns true if successful
+ // if unsuccessful, the contents of this LLGLTFMaterial should be left unchanged and false is returned
// json - the json text to load from
// warn_msg - warning message from TinyGLTF if any
// error_msg - error_msg from TinyGLTF if any