aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcharacter/llkeyframemotion.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llcharacter/llkeyframemotion.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llcharacter/llkeyframemotion.h')
-rw-r--r--linden/indra/llcharacter/llkeyframemotion.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/linden/indra/llcharacter/llkeyframemotion.h b/linden/indra/llcharacter/llkeyframemotion.h
index 5f897cf..393b191 100644
--- a/linden/indra/llcharacter/llkeyframemotion.h
+++ b/linden/indra/llcharacter/llkeyframemotion.h
@@ -224,7 +224,11 @@ protected:
224 mEaseOutStopTime(0.f), 224 mEaseOutStopTime(0.f),
225 mUseTargetOffset(FALSE), 225 mUseTargetOffset(FALSE),
226 mConstraintType(TYPE_POINT), 226 mConstraintType(TYPE_POINT),
227 mConstraintTargetType(TYPE_BODY) {}; 227 mConstraintTargetType(TYPE_BODY),
228 mSourceConstraintVolume(0),
229 mTargetConstraintVolume(0),
230 mJointStateIndices(NULL)
231 { };
228 ~JointConstraintSharedData() { delete [] mJointStateIndices; } 232 ~JointConstraintSharedData() { delete [] mJointStateIndices; }
229 233
230 S32 mSourceConstraintVolume; 234 S32 mSourceConstraintVolume;
@@ -416,6 +420,10 @@ public:
416 typedef std::list<JointConstraintSharedData*> constraint_list_t; 420 typedef std::list<JointConstraintSharedData*> constraint_list_t;
417 constraint_list_t mConstraints; 421 constraint_list_t mConstraints;
418 LLBBoxLocal mPelvisBBox; 422 LLBBoxLocal mPelvisBBox;
423 // mEmoteName is a facial motion, but it's necessary to appear here so that it's cached.
424 // TODO: LLKeyframeDataCache::getKeyframeData should probably return a class containing
425 // JointMotionList and mEmoteName, see LLKeyframeMotion::onInitialize.
426 std::string mEmoteName;
419 public: 427 public:
420 JointMotionList(); 428 JointMotionList();
421 ~JointMotionList(); 429 ~JointMotionList();
@@ -435,7 +443,6 @@ protected:
435 std::vector<LLPointer<LLJointState> > mJointStates; 443 std::vector<LLPointer<LLJointState> > mJointStates;
436 LLJoint* mPelvisp; 444 LLJoint* mPelvisp;
437 LLCharacter* mCharacter; 445 LLCharacter* mCharacter;
438 std::string mEmoteName;
439 typedef std::list<JointConstraint*> constraint_list_t; 446 typedef std::list<JointConstraint*> constraint_list_t;
440 constraint_list_t mConstraints; 447 constraint_list_t mConstraints;
441 U32 mLastSkeletonSerialNum; 448 U32 mLastSkeletonSerialNum;