From e1e1212daae33723e7da325f295a5c3a6bb78979 Mon Sep 17 00:00:00 2001 From: Brian McGroarty Date: Wed, 7 May 2008 17:17:42 +0000 Subject: QAR-520 maintenance-7 merge -- svn merge -r 84923:86093 svn+ssh://svn.lindenlab.com/svn/linden/qa/maintenance-7-sandbox-84884 -- dataserver-is-deprecated --- indra/llcharacter/llkeyframemotion.cpp | 17 +++++++++++++++++ indra/llcharacter/llkeyframemotion.h | 6 +++++- indra/llcharacter/llkeyframewalkmotion.cpp | 14 +++++++++++--- indra/llcharacter/llmotioncontroller.cpp | 25 +++++++++++++------------ indra/llcharacter/llmotioncontroller.h | 2 +- indra/llcharacter/llpose.cpp | 2 ++ 6 files changed, 49 insertions(+), 17 deletions(-) (limited to 'indra/llcharacter') diff --git a/indra/llcharacter/llkeyframemotion.cpp b/indra/llcharacter/llkeyframemotion.cpp index 91d96904ba..ce59349d55 100644 --- a/indra/llcharacter/llkeyframemotion.cpp +++ b/indra/llcharacter/llkeyframemotion.cpp @@ -71,6 +71,15 @@ static F32 MAX_CONSTRAINTS = 10; // JointMotionList //----------------------------------------------------------------------------- LLKeyframeMotion::JointMotionList::JointMotionList() + : mDuration(0.f), + mLoop(FALSE), + mLoopInPoint(0.f), + mLoopOutPoint(0.f), + mEaseInDuration(0.f), + mEaseOutDuration(0.f), + mBasePriority(LLJoint::LOW_PRIORITY), + mHandPose(LLHandMotion::HAND_POSE_SPREAD), + mMaxPriority(LLJoint::LOW_PRIORITY) { } @@ -2116,11 +2125,19 @@ void LLKeyframeDataCache::clear() //----------------------------------------------------------------------------- LLKeyframeMotion::JointConstraint::JointConstraint(JointConstraintSharedData* shared_data) : mSharedData(shared_data) { + mWeight = 0.f; mTotalLength = 0.f; mActive = FALSE; mSourceVolume = NULL; mTargetVolume = NULL; mFixupDistanceRMS = 0.f; + + int i; + for (i=0; i