diff options
| author | simon <none@none> | 2014-06-17 10:40:42 -0700 |
|---|---|---|
| committer | simon <none@none> | 2014-06-17 10:40:42 -0700 |
| commit | 592024b5805a116c9d0bef893127427df0741b41 (patch) | |
| tree | bcadc0685873b40e23254cf3d6232e8f1f3f0e1b /indra/llcharacter/llmotioncontroller.cpp | |
| parent | 9e855b03b7f285794520eaf781b6a963b6cd51d9 (diff) | |
| parent | 977476171ddcc057d7c28b6c14ae988b8189ed75 (diff) | |
Merge viewer-release and become version 3.7.9
Diffstat (limited to 'indra/llcharacter/llmotioncontroller.cpp')
| -rwxr-xr-x | indra/llcharacter/llmotioncontroller.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llcharacter/llmotioncontroller.cpp b/indra/llcharacter/llmotioncontroller.cpp index 50ccfd75fb..e02b139608 100755 --- a/indra/llcharacter/llmotioncontroller.cpp +++ b/indra/llcharacter/llmotioncontroller.cpp @@ -172,6 +172,13 @@ void LLMotionController::deleteAllMotions() for_each(mAllMotions.begin(), mAllMotions.end(), DeletePairedPointer()); mAllMotions.clear(); + + // stinson 05/12/20014 : Ownership of the LLMotion pointers is transferred from + // mAllMotions to mDeprecatedMotions in method + // LLMotionController::deprecateMotionInstance(). Thus, we should also clean + // up the mDeprecatedMotions list as well. + for_each(mDeprecatedMotions.begin(), mDeprecatedMotions.end(), DeletePointer()); + mDeprecatedMotions.clear(); } //----------------------------------------------------------------------------- |
