summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llmaterialeditor.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llmaterialeditor.cpp b/indra/newview/llmaterialeditor.cpp
index 0ae8dcbcf7..004d61a2ec 100644
--- a/indra/newview/llmaterialeditor.cpp
+++ b/indra/newview/llmaterialeditor.cpp
@@ -2312,7 +2312,13 @@ public:
std::string overrides_json = material->asJSON();
-
+#if 1
+ // debug
+ std::string err, warn;
+ LLGLTFMaterial debug;
+ debug.fromJSON(overrides_json, warn, err);
+#endif
+
LLSD overrides = llsd::map(
"object_id", objectp->getID(),
"side", te,