diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcharacter/llkeyframemotion.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/linden/indra/llcharacter/llkeyframemotion.cpp b/linden/indra/llcharacter/llkeyframemotion.cpp index e5d610a..cf489aa 100644 --- a/linden/indra/llcharacter/llkeyframemotion.cpp +++ b/linden/indra/llcharacter/llkeyframemotion.cpp | |||
@@ -425,15 +425,17 @@ void LLKeyframeMotion::JointMotion::update(LLJointState* joint_state, F32 time, | |||
425 | // LLKeyframeMotion() | 425 | // LLKeyframeMotion() |
426 | // Class Constructor | 426 | // Class Constructor |
427 | //----------------------------------------------------------------------------- | 427 | //----------------------------------------------------------------------------- |
428 | LLKeyframeMotion::LLKeyframeMotion( const LLUUID &id) : LLMotion(id) | 428 | LLKeyframeMotion::LLKeyframeMotion(const LLUUID &id) |
429 | : LLMotion(id), | ||
430 | mJointMotionList(NULL), | ||
431 | mJointStates(NULL), | ||
432 | mPelvisp(NULL), | ||
433 | mLastSkeletonSerialNum(0), | ||
434 | mLastUpdateTime(0.f), | ||
435 | mLastLoopedTime(0.f), | ||
436 | mAssetStatus(ASSET_UNDEFINED) | ||
429 | { | 437 | { |
430 | mJointMotionList = NULL; | 438 | |
431 | mJointStates = NULL; | ||
432 | mLastSkeletonSerialNum = 0; | ||
433 | mLastLoopedTime = 0.f; | ||
434 | mLastUpdateTime = 0.f; | ||
435 | mAssetStatus = ASSET_UNDEFINED; | ||
436 | mPelvisp = NULL; | ||
437 | } | 439 | } |
438 | 440 | ||
439 | 441 | ||
@@ -1738,7 +1740,7 @@ BOOL LLKeyframeMotion::serialize(LLDataPacker& dp) const | |||
1738 | } | 1740 | } |
1739 | 1741 | ||
1740 | success &= dp.packS32(mJointMotionList->mConstraints.size(), "num_constraints"); | 1742 | success &= dp.packS32(mJointMotionList->mConstraints.size(), "num_constraints"); |
1741 | for (JointMotionList::constraint_list_t::iterator iter = mJointMotionList->mConstraints.begin(); | 1743 | for (JointMotionList::constraint_list_t::const_iterator iter = mJointMotionList->mConstraints.begin(); |
1742 | iter != mJointMotionList->mConstraints.end(); ++iter) | 1744 | iter != mJointMotionList->mConstraints.end(); ++iter) |
1743 | { | 1745 | { |
1744 | JointConstraintSharedData* shared_constraintp = *iter; | 1746 | JointConstraintSharedData* shared_constraintp = *iter; |
@@ -1933,7 +1935,7 @@ void LLKeyframeMotion::setLoopOut(F32 out_point) | |||
1933 | void LLKeyframeMotion::onLoadComplete(LLVFS *vfs, | 1935 | void LLKeyframeMotion::onLoadComplete(LLVFS *vfs, |
1934 | const LLUUID& asset_uuid, | 1936 | const LLUUID& asset_uuid, |
1935 | LLAssetType::EType type, | 1937 | LLAssetType::EType type, |
1936 | void* user_data, S32 status) | 1938 | void* user_data, S32 status, LLExtStat ext_status) |
1937 | { | 1939 | { |
1938 | LLUUID* id = (LLUUID*)user_data; | 1940 | LLUUID* id = (LLUUID*)user_data; |
1939 | 1941 | ||