diff options
author | Brad Kittenbrink <brad@lindenlab.com> | 2022-10-17 15:47:15 -0700 |
---|---|---|
committer | Brad Kittenbrink <brad@lindenlab.com> | 2022-10-17 15:48:49 -0700 |
commit | 44687a78625d6ed21a82356b07e9927f8d45f629 (patch) | |
tree | 8e741701d285b432bb2cd2fff97f28942c06e532 /indra/llprimitive/llgltfmaterial.h | |
parent | 53e5216b2092b98d6973c2b27c5c75713ec99e73 (diff) |
WIP for SL-17697 live editing now computes diffs of changed material properties in tinygltf schema json
Diffstat (limited to 'indra/llprimitive/llgltfmaterial.h')
-rw-r--r-- | indra/llprimitive/llgltfmaterial.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llprimitive/llgltfmaterial.h b/indra/llprimitive/llgltfmaterial.h index 8efcc9d753..e8d1d67f1b 100644 --- a/indra/llprimitive/llgltfmaterial.h +++ b/indra/llprimitive/llgltfmaterial.h @@ -123,5 +123,7 @@ public: // write to given tinygltf::Model void writeToModel(tinygltf::Model& model, S32 mat_index) const; + // calculate the fields in this material that differ from a base material and write them out to a given tinygltf::Model + void writeOverridesToModel(tinygltf::Model & model, S32 mat_index, LLGLTFMaterial const * base_material) const; }; |