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