summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermodelpreview.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-10-07 23:11:08 -0500
committerDave Parks <davep@lindenlab.com>2010-10-07 23:11:08 -0500
commit0ff0dd72d6e0c009aebb85dfe5c0bc6c7075578d (patch)
tree32822adf34fdca6646210b5cba43ae6383bf5033 /indra/newview/llfloatermodelpreview.cpp
parentcf6ccc9f1c38a68879a050b1b9b5b0d3cde26460 (diff)
Prep loves to type static const int
Diffstat (limited to 'indra/newview/llfloatermodelpreview.cpp')
-rw-r--r--indra/newview/llfloatermodelpreview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index deb2eff351..161b8ed9c8 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -1417,7 +1417,7 @@ void LLModelLoader::run()
if ( pSkeletonRootNode )
{
//Once we have the root node - start acccessing it's joint components
- static const int jointCnt = mJointMap.size();
+ const int jointCnt = mJointMap.size();
std::map<std::string, std::string> :: const_iterator jointIt = mJointMap.begin();
bool missingID = false;
//Loop over all the possible joints within the .dae - using the allowed joint list in the ctor.
@@ -1594,7 +1594,7 @@ void LLModelLoader::run()
//with the skeleton are not stored in the same order as they are in the exported joint buffer.
//This remaps the skeletal joints to be in the same order as the joints stored in the model.
std::vector<std::string> :: const_iterator jointIt = model->mJointList.begin();
- static const int jointCnt = model->mJointList.size();
+ const int jointCnt = model->mJointList.size();
for ( int i=0; i<jointCnt; ++i, ++jointIt )
{
std::string lookingForJoint = (*jointIt).c_str();