diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llpanelenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index 000c7050ab..55b579d0a2 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -373,7 +373,7 @@ void LLPanelEnvironmentInfo::updateEditFloater(const LLEnvironment::EnvironmentI { LLFloaterEditExtDayCycle *dayeditor(getEditFloater(false)); - if (!dayeditor) + if (!dayeditor || !dayeditor->isInVisibleChain()) return; if (!nextenv || !nextenv->mDayCycle || !enable) |