diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-03-31 13:08:22 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-03-31 13:08:22 -0400 |
commit | 2310f31e0d954a6ac1eb69e452faca94a9a59075 (patch) | |
tree | 5000617df143f69ee46f3bcc2497fcf2aa7c881f /indra | |
parent | a1b6e9b43861895c3baf993ba666eff7ab65131a (diff) |
SL-7166 - backed out misplaced change
Diffstat (limited to 'indra')
-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; |