diff options
| author | maxim_productengine <mnikolenko@productengine.com> | 2018-09-03 15:20:53 +0300 |
|---|---|---|
| committer | maxim_productengine <mnikolenko@productengine.com> | 2018-09-03 15:20:53 +0300 |
| commit | a32a4dc6369dd076eb75e648674843bd16a9258e (patch) | |
| tree | 13afbcf9406fd6e6fde5a8dc15d2bd224d57264a /indra/newview/llfloaterfixedenvironment.cpp | |
| parent | fa2b53385eb27fc1c42016a48267f92f7f9567a8 (diff) | |
MAINT-9068 FIXED EEP closing Day Cycle editor by clicking Cancel makes the environment static
Diffstat (limited to 'indra/newview/llfloaterfixedenvironment.cpp')
| -rw-r--r-- | indra/newview/llfloaterfixedenvironment.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llfloaterfixedenvironment.cpp b/indra/newview/llfloaterfixedenvironment.cpp index ece4898935..82f056710e 100644 --- a/indra/newview/llfloaterfixedenvironment.cpp +++ b/indra/newview/llfloaterfixedenvironment.cpp @@ -147,8 +147,11 @@ void LLFloaterFixedEnvironment::onClose(bool app_quitting) void LLFloaterFixedEnvironment::onFocusReceived() { - updateEditEnvironment(); - LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_EDIT, LLEnvironment::TRANSITION_FAST); + if (isInVisibleChain()) + { + updateEditEnvironment(); + LLEnvironment::instance().setSelectedEnvironment(LLEnvironment::ENV_EDIT, LLEnvironment::TRANSITION_FAST); + } } void LLFloaterFixedEnvironment::onFocusLost() |
