diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-05-24 20:29:46 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-05-24 20:29:46 +0300 |
commit | 72d1efb1529ad0863d35b219a461f353a4b19353 (patch) | |
tree | 8e148cfa223840ad1b9a2540975cc0172fee8875 /indra/newview | |
parent | d755605f8dc5bba0abdb87f075db2b6a5ed4ecad (diff) |
STORM-1256 WIP Re-request region settings if our attempt to change them has failed.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloaterregioninfo.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp index d47fb00060..ff34e21c2f 100644 --- a/indra/newview/llfloaterregioninfo.cpp +++ b/indra/newview/llfloaterregioninfo.cpp @@ -3504,5 +3504,12 @@ void LLPanelEnvironmentInfo::onRegionSettingsApplied(bool ok) if (!ok) { setApplyProgress(false); + + // We need to re-request environment setting here, + // otherwise our subsequent attempts to change region settings will fail with the following error: + // "Unable to update environment settings because the last update your viewer saw was not the same + // as the last update sent from the simulator. Try sending your update again, and if this + // does not work, try leaving and returning to the region." + LLEnvManagerNew::instance().requestRegionSettings(); } } |