diff options
Diffstat (limited to 'indra/newview/llfloatereditextdaycycle.cpp')
-rw-r--r-- | indra/newview/llfloatereditextdaycycle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfloatereditextdaycycle.cpp b/indra/newview/llfloatereditextdaycycle.cpp index daee8a798e..5a6af85334 100644 --- a/indra/newview/llfloatereditextdaycycle.cpp +++ b/indra/newview/llfloatereditextdaycycle.cpp @@ -266,6 +266,7 @@ void LLFloaterEditExtDayCycle::onClose(bool app_quitting) if (!app_quitting && LLEnvironment::instance().getSelectedEnvironment() == LLEnvironment::ENV_EDIT) { LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_LOCAL); + LLEnvironment::instance().clearEnvironment(LLEnvironment::ENV_EDIT); } stopPlay(); } @@ -278,8 +279,6 @@ void LLFloaterEditExtDayCycle::onFocusReceived() void LLFloaterEditExtDayCycle::onFocusLost() { - stopPlay(); - LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_LOCAL); } |