1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Fix position flicker after an animation ends

This commit is contained in:
scrawl 2014-12-21 15:33:37 +01:00
parent 8bc7eb5530
commit 42d63a4eb2

View File

@ -1002,6 +1002,9 @@ void Animation::resetActiveGroups()
break;
}
}
if (mAccumRoot && mNonAccumCtrl)
mAccumRoot->setPosition(-mNonAccumCtrl->getTranslation(state->second.mTime)*mAccumulate);
}