Fix for crash report 1272

This commit is contained in:
Aleric Inglewood
2013-10-11 13:35:32 +02:00
parent 909be9e169
commit 0261eac2a4

View File

@@ -215,7 +215,16 @@ BOOL LLEditingMotion::onUpdate(F32 time, U8* joint_mask)
if (!target.isFinite())
{
llwarns << "Non finite target in editing motion with target distance of " << target_dist <<
" and focus point " << focus_pt << " and pointAtPt: " << *pointAtPt << llendl;
" and focus point " << focus_pt << " and pointAtPt: ";
if (pointAtPt)
{
llcont << *pointAtPt;
}
else
{
llcont << "NULL";
}
llcont << llendl;
}
mTarget.setPosition( target + mParentJoint.getPosition());