MAINT-6694 Gesture floater crash

master
andreykproductengine 2016-09-22 12:34:52 +03:00
parent 6e3acac4f0
commit 5b61515ca3
1 changed files with 1 additions and 1 deletions

View File

@ -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)