Fix RNA crash

am: d58230c7f7

Change-Id: Iec812bd65b9c9e24d228b2aa36eaac60875abe66
This commit is contained in:
John Reck
2016-08-03 19:05:42 +00:00
committed by android-build-merger

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();
}
}