From 0261eac2a4642a0e5f7f0b81d7d2629462b809d9 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Fri, 11 Oct 2013 13:35:32 +0200 Subject: [PATCH] Fix for crash report 1272 --- indra/llcharacter/lleditingmotion.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/indra/llcharacter/lleditingmotion.cpp b/indra/llcharacter/lleditingmotion.cpp index cb283c9ec..c2a87d80a 100644 --- a/indra/llcharacter/lleditingmotion.cpp +++ b/indra/llcharacter/lleditingmotion.cpp @@ -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());