summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-10-05 16:55:19 -0500
committerDave Parks <davep@lindenlab.com>2010-10-05 16:55:19 -0500
commit1f00747cd2accbe1b243e5c23f6e74a061a22bfa (patch)
treea3c103fe5b4e51d7452cca2989da0b99b815df8f /indra/newview/llmeshrepository.cpp
parent87a9f475756d54d9d98c8cbb6395f89d6fc4606a (diff)
Post review cleanup.
Diffstat (limited to 'indra/newview/llmeshrepository.cpp')
-rw-r--r--indra/newview/llmeshrepository.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index bec2e208aa..eae5cf59f0 100644
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -2696,6 +2696,11 @@ void LLPhysicsDecomp::run()
const LLCDParam* param = param_map[name];
+ if (param == NULL)
+ { //couldn't find valid parameter
+ continue;
+ }
+
U32 ret = LLCD_OK;
if (param->mType == LLCDParam::LLCD_FLOAT)
@@ -2720,7 +2725,6 @@ void LLPhysicsDecomp::run()
mCurRequest->setStatusMessage("Executing.");
- S32 keep_going = 1;
LLCDResult ret = LLCD_OK;
if (LLConvexDecomposition::getInstance() != NULL)
@@ -2728,7 +2732,6 @@ void LLPhysicsDecomp::run()
ret = LLConvexDecomposition::getInstance()->executeStage(stage);
}
- keep_going = 0;
if (ret)
{
llerrs << "Convex Decomposition thread valid but could not execute stage " << stage << llendl;