summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-27 22:49:36 +0300
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-09-28 03:55:43 +0300
commitb49632f4278078b0d10129a8c6742e145946cfff (patch)
tree140e1fd5061d645e8ebc042912d7ef8d9de41ab3 /indra
parent1b493d56905a2d3875648196ac1bc39fc71e895a (diff)
SL-20343 Close material live editor if editor floater closes
Closing tools floater disabled selection, material editor can't work without that
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloatertools.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp
index b6acba6558..5fb4fb9b07 100644
--- a/indra/newview/llfloatertools.cpp
+++ b/indra/newview/llfloatertools.cpp
@@ -925,6 +925,9 @@ void LLFloaterTools::onClose(bool app_quitting)
// hide the advanced object weights floater
LLFloaterReg::hideInstance("object_weights");
+ // hide gltf material editor
+ LLFloaterReg::hideInstance("live_material_editor");
+
// prepare content for next call
mPanelContents->clearContents();