summaryrefslogtreecommitdiff
path: root/indra/newview/llmaterialeditor.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-08-30 16:43:05 -0500
committerDave Parks <davep@lindenlab.com>2022-08-30 16:43:05 -0500
commit47ecbca24d5ec11ee5cd940fe9db55022fab8dbe (patch)
tree51b5dd4e258e84fbfd8587ce3eae97e88d3d1022 /indra/newview/llmaterialeditor.h
parent2158162b50673afd7b93822823ce1f2be78e2842 (diff)
SL-17987 Fix for material editor not initializing to GLTF defaults when loading a null material asset.
Diffstat (limited to 'indra/newview/llmaterialeditor.h')
-rw-r--r--indra/newview/llmaterialeditor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llmaterialeditor.h b/indra/newview/llmaterialeditor.h
index 59ae00e565..cc72193a0e 100644
--- a/indra/newview/llmaterialeditor.h
+++ b/indra/newview/llmaterialeditor.h
@@ -161,6 +161,8 @@ public:
void onCommitEmissiveTexture(LLUICtrl* ctrl, const LLSD& data);
void onCommitNormalTexture(LLUICtrl* ctrl, const LLSD& data);
+ // initialize the UI from a default GLTF material
+ void loadDefaults();
private:
friend class LLMaterialFilePicker;