aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldriverparam.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lldriverparam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lldriverparam.cpp b/linden/indra/newview/lldriverparam.cpp
index ce42ad5..463888c 100644
--- a/linden/indra/newview/lldriverparam.cpp
+++ b/linden/indra/newview/lldriverparam.cpp
@@ -346,7 +346,7 @@ const LLVector3* LLDriverParam::getNextDistortion(U32 *index, LLPolyMesh **poly_
346 346
347 // We're already in the middle of a param's distortions, so get the next one. 347 // We're already in the middle of a param's distortions, so get the next one.
348 const LLVector3* v = driven->mParam->getNextDistortion( index, poly_mesh ); 348 const LLVector3* v = driven->mParam->getNextDistortion( index, poly_mesh );
349 if( !v ) 349 if( (!v) && (iter != mDriven.end()) )
350 { 350 {
351 // This param is finished, so start the next param. It might not have any 351 // This param is finished, so start the next param. It might not have any
352 // distortions, though, so we have to loop to find the next param that does. 352 // distortions, though, so we have to loop to find the next param that does.