diff options
author | Jacek Antonelli | 2008-10-17 20:01:38 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-17 20:01:38 -0500 |
commit | fdf944fb0355249d73c4e25ee86e9ffd378e7d4b (patch) | |
tree | 2e5c51fe0e6d5757f984721e01cc097801d927e7 /linden/indra/llcharacter | |
parent | Rebranded Windows-specific installer/support files. (diff) | |
parent | Updated source to SL version 1.21.6. (diff) | |
download | meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.zip meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.gz meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.bz2 meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.xz |
Merge branch 'merge-1.21.6' into rebranding
Conflicts:
linden/indra/newview/installers/windows/installer_template.nsi
linden/indra/newview/llappviewer.cpp
Diffstat (limited to 'linden/indra/llcharacter')
-rw-r--r-- | linden/indra/llcharacter/lleditingmotion.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/llcharacter/lleditingmotion.cpp b/linden/indra/llcharacter/lleditingmotion.cpp index c693e6d..b7539ee 100644 --- a/linden/indra/llcharacter/lleditingmotion.cpp +++ b/linden/indra/llcharacter/lleditingmotion.cpp | |||
@@ -186,6 +186,12 @@ BOOL LLEditingMotion::onUpdate(F32 time, U8* joint_mask) | |||
186 | } | 186 | } |
187 | 187 | ||
188 | focus_pt += mCharacter->getCharacterPosition(); | 188 | focus_pt += mCharacter->getCharacterPosition(); |
189 | if (!llfinite(focus_pt.magVecSquared())) | ||
190 | { | ||
191 | LLVector3 tmp = mCharacter->getCharacterPosition() ; | ||
192 | llerrs << "Non finite focus point in editing motion. focus point: " << focus_pt << " and character position: " << | ||
193 | tmp << " and pointAtPt: " << pointAtPt << llendl; | ||
194 | } | ||
189 | 195 | ||
190 | // propagate joint positions to kinematic chain | 196 | // propagate joint positions to kinematic chain |
191 | mParentJoint.setPosition( mParentState->getJoint()->getWorldPosition() ); | 197 | mParentJoint.setPosition( mParentState->getJoint()->getWorldPosition() ); |
@@ -220,7 +226,7 @@ BOOL LLEditingMotion::onUpdate(F32 time, U8* joint_mask) | |||
220 | if (!target.isFinite()) | 226 | if (!target.isFinite()) |
221 | { | 227 | { |
222 | llerrs << "Non finite target in editing motion with target distance of " << target_dist << | 228 | llerrs << "Non finite target in editing motion with target distance of " << target_dist << |
223 | " and focus point " << focus_pt << llendl; | 229 | " and focus point " << focus_pt << " and pointAtPt: " << pointAtPt << llendl; |
224 | } | 230 | } |
225 | 231 | ||
226 | mTarget.setPosition( target + mParentJoint.getPosition()); | 232 | mTarget.setPosition( target + mParentJoint.getPosition()); |