summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-11 01:10:47 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-11 01:10:47 +0200
commit72884b29e5f84fb13879e826e8b1a3de9ce8fbbc (patch)
tree274fa50f28560bf1ae8653bfea96e1f4c4cce943 /indra/newview
parent44782e475c8f30af38986d5c97f8dafaee0575b2 (diff)
mac build fix
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llgltfmateriallist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llgltfmateriallist.cpp b/indra/newview/llgltfmateriallist.cpp
index 2991d26d41..173e9ebb1d 100644
--- a/indra/newview/llgltfmateriallist.cpp
+++ b/indra/newview/llgltfmateriallist.cpp
@@ -56,6 +56,7 @@ LLSD LLGLTFMaterialList::sUpdates;
const LLUUID LLGLTFMaterialList::BLANK_MATERIAL_ASSET_ID("968cbad0-4dad-d64e-71b5-72bf13ad051a");
+#ifdef SHOW_ASSERT
// return true if given data is (probably) valid update message for ModifyMaterialParams capability
static bool is_valid_update(const LLSD& data)
{
@@ -132,6 +133,7 @@ static bool is_valid_update(const LLSD& data)
return true;
}
+#endif
class LLGLTFMaterialOverrideDispatchHandler : public LLDispatchHandler
{