summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterfixedenvironment.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-06-11 11:43:50 -0700
committerRider Linden <rider@lindenlab.com>2018-06-11 11:43:50 -0700
commit97da85de0b1e0f8c2fc60c156c31b237b869230a (patch)
tree5dd5785e0bc9321c5e340c70ccf8c36993b948da /indra/newview/llfloaterfixedenvironment.cpp
parent8365945f8af6e27e7180b40aae79f210f99bb7c8 (diff)
remove legacy environmental edit floater and some lingering transition functions. Change floater environment switch behavior.
Diffstat (limited to 'indra/newview/llfloaterfixedenvironment.cpp')
-rw-r--r--indra/newview/llfloaterfixedenvironment.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llfloaterfixedenvironment.cpp b/indra/newview/llfloaterfixedenvironment.cpp
index 0c6127c61f..be7b55bd45 100644
--- a/indra/newview/llfloaterfixedenvironment.cpp
+++ b/indra/newview/llfloaterfixedenvironment.cpp
@@ -130,6 +130,9 @@ void LLFloaterFixedEnvironment::onOpen(const LLSD& key)
void LLFloaterFixedEnvironment::onClose(bool app_quitting)
{
+ LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_LOCAL);
+ LLEnvironment::instance().clearEnvironment(LLEnvironment::ENV_EDIT);
+
mSettings.reset();
syncronizeTabs();
}
@@ -142,10 +145,6 @@ void LLFloaterFixedEnvironment::onFocusReceived()
void LLFloaterFixedEnvironment::onFocusLost()
{
- // *TODO*: If the window receiving focus is from a select color or select image control...
- // We have technically not changed out of what we are doing so don't change back to displaying
- // the local environment. (unfortunately the focus manager has
- LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_LOCAL);
}
void LLFloaterFixedEnvironment::refresh()