aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatergodtools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloatergodtools.cpp')
-rw-r--r--linden/indra/newview/llfloatergodtools.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloatergodtools.cpp b/linden/indra/newview/llfloatergodtools.cpp
index 7d54ecf..4b44793 100644
--- a/linden/indra/newview/llfloatergodtools.cpp
+++ b/linden/indra/newview/llfloatergodtools.cpp
@@ -1344,8 +1344,8 @@ void LLPanelRequestTools::refresh()
1344 list->operateOnAll(LLCtrlListInterface::OP_DELETE); 1344 list->operateOnAll(LLCtrlListInterface::OP_DELETE);
1345 list->addSimpleElement(SELECTION); 1345 list->addSimpleElement(SELECTION);
1346 list->addSimpleElement(AGENT_REGION); 1346 list->addSimpleElement(AGENT_REGION);
1347 for (LLWorld::region_list_t::iterator iter = LLWorld::getInstance()->mActiveRegionList.begin(); 1347 for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin();
1348 iter != LLWorld::getInstance()->mActiveRegionList.end(); ++iter) 1348 iter != LLWorld::getInstance()->getRegionList().end(); ++iter)
1349 { 1349 {
1350 LLViewerRegion* regionp = *iter; 1350 LLViewerRegion* regionp = *iter;
1351 std::string name = regionp->getName(); 1351 std::string name = regionp->getName();
@@ -1405,8 +1405,8 @@ void LLPanelRequestTools::onClickRequest(void* data)
1405 else 1405 else
1406 { 1406 {
1407 // find region by name 1407 // find region by name
1408 for (LLWorld::region_list_t::iterator iter = LLWorld::getInstance()->mActiveRegionList.begin(); 1408 for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin();
1409 iter != LLWorld::getInstance()->mActiveRegionList.end(); ++iter) 1409 iter != LLWorld::getInstance()->getRegionList().end(); ++iter)
1410 { 1410 {
1411 LLViewerRegion* regionp = *iter; 1411 LLViewerRegion* regionp = *iter;
1412 if(dest == regionp->getName()) 1412 if(dest == regionp->getName())