summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterland.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-08-21 11:37:59 -0700
committerRider Linden <rider@lindenlab.com>2018-08-21 11:37:59 -0700
commit477c66c890d5d87318705415315aaf9464bec2ff (patch)
tree48cdffe375ef2de59eb241c58713ab7a335e37a8 /indra/newview/llfloaterland.cpp
parent163ae605be8871f37f19d94b71ec4370aadf9a49 (diff)
Lest couple nullptr checks and disable the controls on legacy regions.
Diffstat (limited to 'indra/newview/llfloaterland.cpp')
-rw-r--r--indra/newview/llfloaterland.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp
index 91f755e71b..3e50700377 100644
--- a/indra/newview/llfloaterland.cpp
+++ b/indra/newview/llfloaterland.cpp
@@ -3279,7 +3279,7 @@ void LLPanelLandEnvironment::refresh()
return;
}
- if ((!mCurrentEnvironment) || (mCurrentEnvironment->mParcelId != parcel->getLocalID()))
+ if (LLEnvironment::instance().isExtendedEnvironmentEnabled() && ((!mCurrentEnvironment) || (mCurrentEnvironment->mParcelId != parcel->getLocalID())))
{
mCurrentParcelId = parcel->getLocalID();
refreshFromSource();