Merge "Move updateMatrix() call to animateCommon" into mnc-dev

This commit is contained in:
John Reck
2015-07-23 23:48:40 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}