When PropertyOwner alive and Animator is destroyed,
(== AnimatorResetter::ObjectDestroyed called)
mRunning value become ACTIVE --> AGING.
In this case, IsFinished() value always return 'false', so
PropertyOwner hold the AnimatorResetter always.
This patch make we ensurely reduce the aging of AnimatorResetter and
ConstraintResetter.
Change-Id: I173f6780d73ab9e9ad104a20764f9fac6d9abcc9
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
mBaseProperty->ResetToBaseValue(updateBufferIndex);
}
+
+ if(mRunning == AGING)
+ {
+ // If this resetter is aging now, make it as stopped.
+ // Now we can assume that this PropertyResetter is finished.
+ mRunning = STOPPED;
+ }
};
/**