diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-09-29 19:14:50 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-09-29 19:14:50 +0000 |
commit | d725e5b24075b2171f8a5b263969991e9b475078 (patch) | |
tree | f1422064fd0ab676dfa66d39b5d0f0b9e8ff1086 /indra/llcharacter | |
parent | 66739da16407a8e56accc236bd3996c1963a6bcf (diff) |
QAR-872 Viewer 1.21 RC 3
merge viewer_1-21 96116-97380 -> release
Diffstat (limited to 'indra/llcharacter')
-rw-r--r-- | indra/llcharacter/lleditingmotion.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llcharacter/lleditingmotion.cpp b/indra/llcharacter/lleditingmotion.cpp index 34fb6c423a..301a6e74c9 100644 --- a/indra/llcharacter/lleditingmotion.cpp +++ b/indra/llcharacter/lleditingmotion.cpp @@ -186,6 +186,12 @@ BOOL LLEditingMotion::onUpdate(F32 time, U8* joint_mask) } focus_pt += mCharacter->getCharacterPosition(); + if (!llfinite(focus_pt.magVecSquared())) + { + LLVector3 tmp = mCharacter->getCharacterPosition() ; + llerrs << "Non finite focus point in editing motion. focus point: " << focus_pt << " and character position: " << + tmp << " and pointAtPt: " << pointAtPt << llendl; + } // propagate joint positions to kinematic chain mParentJoint.setPosition( mParentState->getJoint()->getWorldPosition() ); @@ -220,7 +226,7 @@ BOOL LLEditingMotion::onUpdate(F32 time, U8* joint_mask) if (!target.isFinite()) { llerrs << "Non finite target in editing motion with target distance of " << target_dist << - " and focus point " << focus_pt << llendl; + " and focus point " << focus_pt << " and pointAtPt: " << pointAtPt << llendl; } mTarget.setPosition( target + mParentJoint.getPosition()); |