diff options
author | Brad Kittenbrink <brad@lindenlab.com> | 2022-11-11 10:00:37 -0800 |
---|---|---|
committer | Brad Kittenbrink <brad@lindenlab.com> | 2022-11-14 11:26:34 -0800 |
commit | 1971839517519657fc895c9cb12c47317dde6b39 (patch) | |
tree | e80246534ac9ca4a083b06ddd4d8948fb99a5aaa /indra/newview/llgltfmateriallist.h | |
parent | 97277e74a9d966ed441e51f844f9012f55cca3dc (diff) |
Basic solution for SL-18458 vocache implementation for material overrides
Diffstat (limited to 'indra/newview/llgltfmateriallist.h')
-rw-r--r-- | indra/newview/llgltfmateriallist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llgltfmateriallist.h b/indra/newview/llgltfmateriallist.h index c4eabc8ef7..805b477248 100644 --- a/indra/newview/llgltfmateriallist.h +++ b/indra/newview/llgltfmateriallist.h @@ -89,6 +89,11 @@ 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); + private: friend class LLGLTFMaterialOverrideDispatchHandler; // save an override update that we got from the simulator for later (for example, if an override arrived for an unknown object) |