diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-02-05 15:30:06 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-02-05 15:30:06 +0200 |
commit | b5a7874ba522089cf942fb9ad6fcd35383f69a88 (patch) | |
tree | 5780308da2423cb4658fa1e33ef7d08573ff20ed /indra/newview | |
parent | db01f4bb2bce97f76058bbf912cb48c985c3e10a (diff) |
SL-10279 Use stored environment instead of region one
Diffstat (limited to 'indra/newview')
-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 d20cc096de..2cfd0c8fc9 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -262,7 +262,7 @@ void LLPanelEnvironmentInfo::refresh() updateEditFloater(mCurrentEnvironment, canEdit()); - LLEnvironment::altitude_list_t altitudes = LLEnvironment::instance().getRegionAltitudes(); + LLEnvironment::altitude_list_t altitudes = mCurrentEnvironment->mAltitudes; if (altitudes.size() > 0) { |