From 72884b29e5f84fb13879e826e8b1a3de9ce8fbbc Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Fri, 11 Nov 2022 01:10:47 +0200 Subject: mac build fix --- indra/newview/llgltfmateriallist.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra') 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 { -- cgit v1.2.3