From d248961c306511f633cefedbec5269c7a81e5bc9 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Mon, 11 Apr 2022 17:51:10 +0300 Subject: SL-17182 FIXED Viewer crashes after changing the environment settings --- indra/newview/llfloaterfixedenvironment.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/llfloaterfixedenvironment.cpp') diff --git a/indra/newview/llfloaterfixedenvironment.cpp b/indra/newview/llfloaterfixedenvironment.cpp index 4f2c36f45b..fec218ca3b 100644 --- a/indra/newview/llfloaterfixedenvironment.cpp +++ b/indra/newview/llfloaterfixedenvironment.cpp @@ -137,6 +137,7 @@ void LLFloaterFixedEnvironment::onClose(bool app_quitting) doCloseInventoryFloater(app_quitting); LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_LOCAL); + LLEnvironment::instance().setCurrentEnvironmentSelection(LLEnvironment::ENV_LOCAL); LLEnvironment::instance().clearEnvironment(LLEnvironment::ENV_EDIT); mSettings.reset(); -- cgit v1.2.3