Fix RNA crash

Bug: 30632377
Change-Id: I5d53fba0f469553ae90bebad1482ef28965dd853
This commit is contained in:
John Reck
2016-08-03 10:28:10 -07:00
parent c9682ab5b5
commit d58230c7f7

View File

@@ -83,9 +83,12 @@ void AnimatorManager::pushStaging() {
} }
mNewAnimators.clear(); mNewAnimators.clear();
} }
if (mAnimators.size()) {
for (auto& animator : mAnimators) { for (auto& animator : mAnimators) {
animator->pushStaging(mAnimationHandle->context()); animator->pushStaging(mAnimationHandle->context());
} }
mParent.mProperties.updateMatrix();
}
} }
void AnimatorManager::onAnimatorTargetChanged(BaseRenderNodeAnimator* animator) { void AnimatorManager::onAnimatorTargetChanged(BaseRenderNodeAnimator* animator) {