diff options
author | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
commit | b2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch) | |
tree | 3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/llfloatergodtools.cpp | |
parent | Second Life viewer sources 1.14.0.1 (diff) | |
download | meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2 meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz |
Second Life viewer sources 1.15.0.2
Diffstat (limited to 'linden/indra/newview/llfloatergodtools.cpp')
-rw-r--r-- | linden/indra/newview/llfloatergodtools.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/linden/indra/newview/llfloatergodtools.cpp b/linden/indra/newview/llfloatergodtools.cpp index e1d12d2..7376bba 100644 --- a/linden/indra/newview/llfloatergodtools.cpp +++ b/linden/indra/newview/llfloatergodtools.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -1344,11 +1345,10 @@ void LLPanelRequestTools::refresh() | |||
1344 | list->operateOnAll(LLCtrlListInterface::OP_DELETE); | 1345 | list->operateOnAll(LLCtrlListInterface::OP_DELETE); |
1345 | list->addSimpleElement(SELECTION); | 1346 | list->addSimpleElement(SELECTION); |
1346 | list->addSimpleElement(AGENT_REGION); | 1347 | list->addSimpleElement(AGENT_REGION); |
1347 | LLViewerRegion* regionp; | 1348 | for (LLWorld::region_list_t::iterator iter = gWorldp->mActiveRegionList.begin(); |
1348 | for(regionp = gWorldp->mActiveRegionList.getFirstData(); | 1349 | iter != gWorldp->mActiveRegionList.end(); ++iter) |
1349 | regionp != NULL; | ||
1350 | regionp = gWorldp->mActiveRegionList.getNextData()) | ||
1351 | { | 1350 | { |
1351 | LLViewerRegion* regionp = *iter; | ||
1352 | LLString name = regionp->getName(); | 1352 | LLString name = regionp->getName(); |
1353 | if (!name.empty()) | 1353 | if (!name.empty()) |
1354 | { | 1354 | { |
@@ -1406,11 +1406,10 @@ void LLPanelRequestTools::onClickRequest(void* data) | |||
1406 | else | 1406 | else |
1407 | { | 1407 | { |
1408 | // find region by name | 1408 | // find region by name |
1409 | LLViewerRegion* regionp; | 1409 | for (LLWorld::region_list_t::iterator iter = gWorldp->mActiveRegionList.begin(); |
1410 | for(regionp = gWorldp->mActiveRegionList.getFirstData(); | 1410 | iter != gWorldp->mActiveRegionList.end(); ++iter) |
1411 | regionp != NULL; | ||
1412 | regionp = gWorldp->mActiveRegionList.getNextData()) | ||
1413 | { | 1411 | { |
1412 | LLViewerRegion* regionp = *iter; | ||
1414 | if(dest == regionp->getName()) | 1413 | if(dest == regionp->getName()) |
1415 | { | 1414 | { |
1416 | // found it | 1415 | // found it |