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,8 +83,11 @@ void AnimatorManager::pushStaging() {
}
mNewAnimators.clear();
}
for (auto& animator : mAnimators) {
animator->pushStaging(mAnimationHandle->context());
if (mAnimators.size()) {
for (auto& animator : mAnimators) {
animator->pushStaging(mAnimationHandle->context());
}
mParent.mProperties.updateMatrix();
}
}