diff options
Diffstat (limited to 'linden/indra/llcharacter/llmotion.cpp')
-rw-r--r-- | linden/indra/llcharacter/llmotion.cpp | 28 |
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 | //----------------------------------------------------------------------------- |
50 | LLMotion::LLMotion( const LLUUID &id ) | 50 | LLMotion::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 | //----------------------------------------------------------------------------- |