diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2018-10-03 13:33:19 +0300 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2018-10-03 13:33:19 +0300 |
commit | 20e78bb88ebe0a5416f3fb272afe9455aa756869 (patch) | |
tree | 176d1b5feadd7e87271f8b7572f1899a2912d9cf /indra/newview/llpanelenvironment.cpp | |
parent | ac184e1ca77fc5085487925f74aaa6826f39870e (diff) |
SL-9780 FIXED [EEP] Environment gets stuck on region environment after closing Region/Estate floater
Diffstat (limited to 'indra/newview/llpanelenvironment.cpp')
-rw-r--r-- | indra/newview/llpanelenvironment.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index ecd67ff8af..4ab09e7118 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -170,7 +170,7 @@ void LLPanelEnvironmentInfo::onVisibilityChange(BOOL new_visibility) } gIdleCallbacks.deleteFunction(onIdlePlay, this); - LLFloaterEditExtDayCycle *dayeditor = getEditFloater(); + LLFloaterEditExtDayCycle *dayeditor = getEditFloater(false); if (mCommitConnection.connected()) mCommitConnection.disconnect(); @@ -179,7 +179,10 @@ void LLPanelEnvironmentInfo::onVisibilityChange(BOOL new_visibility) if (dayeditor->isDirty()) dayeditor->refresh(); else + { dayeditor->closeFloater(); + mEditFloater.markDead(); + } } } |