AnimatableProperty Set/Bake now resets properly.
If animatable properties are Set/Baked from event side, then the
dirty flag is never cleared. This is due to not having any
PropertyResetter or NodeResetter working.
It's not an issue for TransformProperties, as they have their own
reset system.
Added a BakerResetter to run the ResetToBaseValue() method for 1 or 2
frames, then will auto-age and die.
Changed all the messaging for baking/setting animatable properties to
also create and send the BakerResetter.
Currently, update doesn't run again even if there are new property
resetters outstanding. (Fine for constraint resetters, maybe not so
fine for new BakerResetters?)
To avoid cyclic dependencies, have also split the messages out into
their own headers (which should also help reduce compile time)
Added a test case to exercise Object internals for coverage - there
are some lowkey bugs in here. [Normally, we use derived methods to
link event side properties to scene-graph properties, here, we're
using untested code to access component scene-graph properties. If we
don't first generate the "parent" property, then the wrong type is
used to generate the component properties]. We could potentially
delete some of this code!!!
Signed-off-by: David Steele <david.steele@samsung.com>
Change-Id: I2c860a8416e71666fceb8d0b0d072c5c735655ad
24 files changed: