diff options
author | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
commit | c07901e29ed545bbb02e3bddf148fe1104b94e9f (patch) | |
tree | f1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/lldriverparam.cpp | |
parent | Second Life viewer sources 1.15.0.2 (diff) | |
download | meta-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.cpp | 2 |
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. |