summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llpanelenvironment.cpp2
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)