aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcharacter/llmotion.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/llcharacter/llmotion.cpp
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/llcharacter/llmotion.cpp')
-rw-r--r--linden/indra/llcharacter/llmotion.cpp28
1 files changed, 13 insertions, 15 deletions
diff --git a/linden/indra/llcharacter/llmotion.cpp b/linden/indra/llcharacter/llmotion.cpp
index 899796c..f7b8f1f 100644
--- a/linden/indra/llcharacter/llmotion.cpp
+++ b/linden/indra/llcharacter/llmotion.cpp
@@ -47,22 +47,20 @@
47// LLMotion() 47// LLMotion()
48// Class Constructor 48// Class Constructor
49//----------------------------------------------------------------------------- 49//-----------------------------------------------------------------------------
50LLMotion::LLMotion( const LLUUID &id ) 50LLMotion::LLMotion( const LLUUID &id ) :
51 mStopped(TRUE),
52 mActive(FALSE),
53 mID(id),
54 mActivationTimestamp(0.f),
55 mStopTimestamp(0.f),
56 mSendStopTimestamp(F32_MAX),
57 mResidualWeight(0.f),
58 mFadeWeight(1.f),
59 mDeactivateCallback(NULL),
60 mDeactivateCallbackUserData(NULL)
51{ 61{
52 mActivationTimestamp = 0.f; 62 for (int i=0; i<3; ++i)
53 mStopTimestamp = 0.f; 63 memset(&mJointSignature[i][0], 0, sizeof(U8) * LL_CHARACTER_MAX_JOINTS);
54 mSendStopTimestamp = F32_MAX;
55 mResidualWeight = 0.f;
56 mFadeWeight = 1.f;
57 mStopped = TRUE;
58 mActive = FALSE;
59 mDeactivateCallback = NULL;
60
61 memset(&mJointSignature[0][0], 0, sizeof(U8) * LL_CHARACTER_MAX_JOINTS);
62 memset(&mJointSignature[1][0], 0, sizeof(U8) * LL_CHARACTER_MAX_JOINTS);
63 memset(&mJointSignature[2][0], 0, sizeof(U8) * LL_CHARACTER_MAX_JOINTS);
64
65 mID = id;
66} 64}
67 65
68//----------------------------------------------------------------------------- 66//-----------------------------------------------------------------------------