Merge "Move updateMatrix() call to animateCommon" into mnc-dev
This commit is contained in:
@@ -117,7 +117,6 @@ uint32_t AnimatorManager::animate(TreeInfo& info) {
|
|||||||
|
|
||||||
uint32_t dirty = animateCommon(info);
|
uint32_t dirty = animateCommon(info);
|
||||||
|
|
||||||
mParent.mProperties.updateMatrix();
|
|
||||||
info.damageAccumulator->pushTransform(&mParent);
|
info.damageAccumulator->pushTransform(&mParent);
|
||||||
mParent.damageSelf(info);
|
mParent.damageSelf(info);
|
||||||
|
|
||||||
@@ -136,6 +135,7 @@ uint32_t AnimatorManager::animateCommon(TreeInfo& info) {
|
|||||||
newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor);
|
newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor);
|
||||||
mAnimators.erase(newEnd, mAnimators.end());
|
mAnimators.erase(newEnd, mAnimators.end());
|
||||||
mAnimationHandle->notifyAnimationsRan();
|
mAnimationHandle->notifyAnimationsRan();
|
||||||
|
mParent.mProperties.updateMatrix();
|
||||||
return functor.dirtyMask;
|
return functor.dirtyMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user