summaryrefslogtreecommitdiff
path: root/indra/newview/llgltfmateriallist.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-24 12:16:59 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-24 20:58:05 +0200
commit32984b56ea8fa4f4357379a40627b5e9267d7543 (patch)
treec332e615cc6b609f6eb924198500a0d61e6f980b /indra/newview/llgltfmateriallist.h
parentdfa76a56e32b8577131542f5c412b48797f8d3d3 (diff)
SL-18701 llsd is not thread safe, parse it before using
Diffstat (limited to 'indra/newview/llgltfmateriallist.h')
-rw-r--r--indra/newview/llgltfmateriallist.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llgltfmateriallist.h b/indra/newview/llgltfmateriallist.h
index 805b477248..0f0edf7414 100644
--- a/indra/newview/llgltfmateriallist.h
+++ b/indra/newview/llgltfmateriallist.h
@@ -35,6 +35,7 @@
#include <unordered_map>
class LLFetchedGLTFMaterial;
+class LLGLTFOverrideCacheEntry;
class LLGLTFMaterialList
{
@@ -89,10 +90,7 @@ public:
// any override data that arrived before the object was ready to receive it
void applyQueuedOverrides(LLViewerObject* obj);
- // takes both the parsed message and its raw text to avoid unnecessary re serialization
- static void writeCacheOverrides(LLSD const & message, std::string const & llsdRaw);
-
- static void loadCacheOverrides(std::string const & message_raw);
+ static void loadCacheOverrides(const LLGLTFOverrideCacheEntry& override);
private:
friend class LLGLTFMaterialOverrideDispatchHandler;