summaryrefslogtreecommitdiff
path: root/indra/newview/llmaterialeditor.h
diff options
context:
space:
mode:
authorBrad Kittenbrink (Brad Linden) <brad@lindenlab.com>2022-10-10 16:10:10 -0700
committerBrad Kittenbrink <brad@lindenlab.com>2022-10-14 14:44:05 -0700
commitbda420662710e95de1b3f6ff954459b4bb6c3b01 (patch)
tree3633fdf38d03e103226cbd473c24dee0b04bb810 /indra/newview/llmaterialeditor.h
parenta2b09df2db69ba8a2e6b587d839d509fbe5abebb (diff)
WIP for SL-18103 and SL-17697 live editing of materials using ModifyMaterialParams cap
Diffstat (limited to 'indra/newview/llmaterialeditor.h')
-rw-r--r--indra/newview/llmaterialeditor.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llmaterialeditor.h b/indra/newview/llmaterialeditor.h
index d329222648..aa24b52a96 100644
--- a/indra/newview/llmaterialeditor.h
+++ b/indra/newview/llmaterialeditor.h
@@ -215,6 +215,10 @@ public:
// initialize the UI from a default GLTF material
void loadDefaults();
+
+ void modifyMaterialCoro(std::string cap_url, LLSD overrides);
+ void setOverrideTarget(const LLUUID& object_id, S32 face_id);
+
private:
void loadMaterial(const tinygltf::Model &model, const std::string &filename_lc, S32 index);
@@ -264,5 +268,8 @@ private:
S32 mExpectedUploadCost;
std::string mMaterialNameShort;
std::string mMaterialName;
+
+ LLUUID mOverrideObjectId;
+ S32 mOverrideFace;
};