aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcharacter/llmotioncontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcharacter/llmotioncontroller.cpp')
-rw-r--r--linden/indra/llcharacter/llmotioncontroller.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/llcharacter/llmotioncontroller.cpp b/linden/indra/llcharacter/llmotioncontroller.cpp
index 90a3d74..9afb8c7 100644
--- a/linden/indra/llcharacter/llmotioncontroller.cpp
+++ b/linden/indra/llcharacter/llmotioncontroller.cpp
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$ 5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2001-2008, Linden Research, Inc. 7 * Copyright (c) 2001-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -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 }