aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldriverparam.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:56 -0500
committerJacek Antonelli2008-08-15 23:44:56 -0500
commitc07901e29ed545bbb02e3bddf148fe1104b94e9f (patch)
treef1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/lldriverparam.cpp
parentSecond Life viewer sources 1.15.0.2 (diff)
downloadmeta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz
Second Life viewer sources 1.15.1.3
Diffstat (limited to 'linden/indra/newview/lldriverparam.cpp')
-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.