diff options
author | andreykproductengine <none@none> | 2016-09-22 12:34:52 +0300 |
---|---|---|
committer | andreykproductengine <none@none> | 2016-09-22 12:34:52 +0300 |
commit | 5b61515ca34dfb6bc84fea019f48a47be76c1b5f (patch) | |
tree | 5c4ba8a0b78dd4ba58edbfa6ed0c76473ec70827 /indra | |
parent | 6e3acac4f0b47ee721f2e577484906de0240d76d (diff) |
MAINT-6694 Gesture floater crash
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcharacter/llkeyframemotion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcharacter/llkeyframemotion.cpp b/indra/llcharacter/llkeyframemotion.cpp index cd201a65b4..e786dfff86 100644 --- a/indra/llcharacter/llkeyframemotion.cpp +++ b/indra/llcharacter/llkeyframemotion.cpp @@ -2149,7 +2149,7 @@ void LLKeyframeMotion::onLoadComplete(LLVFS *vfs, LLCharacter* character = *char_iter; // look for an existing instance of this motion - LLKeyframeMotion* motionp = (LLKeyframeMotion*) character->findMotion(asset_uuid); + LLKeyframeMotion* motionp = dynamic_cast<LLKeyframeMotion*> (character->findMotion(asset_uuid)); if (motionp) { if (0 == status) |