diff options
-rw-r--r-- | indra/llcharacter/llmotioncontroller.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/indra/llcharacter/llmotioncontroller.cpp b/indra/llcharacter/llmotioncontroller.cpp index 379667418a..d8185aa693 100644 --- a/indra/llcharacter/llmotioncontroller.cpp +++ b/indra/llcharacter/llmotioncontroller.cpp @@ -365,8 +365,6 @@ LLMotion* LLMotionController::createMotion( const LLUUID &id ) // initialize the new instance LLMotion::LLMotionInitStatus stat = motion->onInitialize(mCharacter); - // Only use this in one case, declaring here to stop compiler from whining. - LLKeyframeMotion *keymotion = NULL; switch(stat) { case LLMotion::STATUS_FAILURE: @@ -380,12 +378,6 @@ LLMotion* LLMotionController::createMotion( const LLUUID &id ) case LLMotion::STATUS_SUCCESS: // add motion to our list mLoadedMotions.insert(motion); - keymotion = dynamic_cast<LLKeyframeMotion*>(motion); - if (keymotion) - { - std::string noname; - keymotion->dumpToFile(noname); - } break; default: LL_ERRS() << "Invalid initialization status" << LL_ENDL; |