diff options
Diffstat (limited to 'linden/indra/llcharacter/llmotioncontroller.cpp')
-rw-r--r-- | linden/indra/llcharacter/llmotioncontroller.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llcharacter/llmotioncontroller.cpp b/linden/indra/llcharacter/llmotioncontroller.cpp index 90a3d74..fadf1a5 100644 --- a/linden/indra/llcharacter/llmotioncontroller.cpp +++ b/linden/indra/llcharacter/llmotioncontroller.cpp | |||
@@ -783,6 +783,11 @@ void LLMotionController::updateLoadingMotions() | |||
783 | llinfos << "Motion " << motionp->getID() << " init failed." << llendl; | 783 | llinfos << "Motion " << motionp->getID() << " init failed." << llendl; |
784 | sRegistry.markBad(motionp->getID()); | 784 | sRegistry.markBad(motionp->getID()); |
785 | mLoadingMotions.erase(curiter); | 785 | mLoadingMotions.erase(curiter); |
786 | motion_set_t::iterator found_it = mDeprecatedMotions.find(motionp); | ||
787 | if (found_it != mDeprecatedMotions.end()) | ||
788 | { | ||
789 | mDeprecatedMotions.erase(found_it); | ||
790 | } | ||
786 | mAllMotions.erase(motionp->getID()); | 791 | mAllMotions.erase(motionp->getID()); |
787 | delete motionp; | 792 | delete motionp; |
788 | } | 793 | } |