summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-06-12 21:58:52 -0400
committerOz Linden <oz@lindenlab.com>2012-06-12 21:58:52 -0400
commitd500379cea865e4a6958eee82b5615ace61036c4 (patch)
treee1646aa036beae68d5d15371d7ea2731ad49602c /indra/newview/llfloatermodelpreview.cpp
parentce563795e1f5d7493b975393bea9ec5cab90fd6a (diff)
PATH-735: Limit and clean up grid selection
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 7448f2bb2a..e8cf7d1ba4 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -498,7 +498,7 @@ BOOL LLFloaterModelPreview::postBuild()
text->setMouseDownCallback(boost::bind(&LLModelPreview::setPreviewLOD, mModelPreview, i));
}
}
- std::string current_grid = LLGridManager::getInstance()->getGridLabel();
+ std::string current_grid = LLGridManager::getInstance()->getGridId();
std::transform(current_grid.begin(),current_grid.end(),current_grid.begin(),::tolower);
std::string validate_url;
if (current_grid == "agni")