diff options
Diffstat (limited to 'linden/indra/llcharacter/lleditingmotion.cpp')
-rw-r--r-- | linden/indra/llcharacter/lleditingmotion.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/linden/indra/llcharacter/lleditingmotion.cpp b/linden/indra/llcharacter/lleditingmotion.cpp index 913be27..4a2de62 100644 --- a/linden/indra/llcharacter/lleditingmotion.cpp +++ b/linden/indra/llcharacter/lleditingmotion.cpp | |||
@@ -187,13 +187,7 @@ BOOL LLEditingMotion::onUpdate(F32 time, U8* joint_mask) | |||
187 | } | 187 | } |
188 | 188 | ||
189 | focus_pt += mCharacter->getCharacterPosition(); | 189 | focus_pt += mCharacter->getCharacterPosition(); |
190 | if (!llfinite(focus_pt.magVecSquared())) | 190 | |
191 | { | ||
192 | LLVector3 tmp = mCharacter->getCharacterPosition() ; | ||
193 | llerrs << "Non finite focus point in editing motion. focus point: " << focus_pt << " and character position: " << | ||
194 | tmp << " and pointAtPt: " << *pointAtPt << llendl; | ||
195 | } | ||
196 | |||
197 | // propagate joint positions to kinematic chain | 191 | // propagate joint positions to kinematic chain |
198 | mParentJoint.setPosition( mParentState->getJoint()->getWorldPosition() ); | 192 | mParentJoint.setPosition( mParentState->getJoint()->getWorldPosition() ); |
199 | mShoulderJoint.setPosition( mShoulderState->getJoint()->getPosition() ); | 193 | mShoulderJoint.setPosition( mShoulderState->getJoint()->getPosition() ); |