From Fabien Lavignotte, "There was a small bug when using the new serializer with AnimationPath. The serializer assumes NO_LOOPING is the defaut for LoopMode, but in fact it is LOOP.
The new serializer avoids to write default values in text mode, so the loop mode is not always correctly set."
This commit is contained in:
@@ -64,7 +64,7 @@ REGISTER_OBJECT_WRAPPER( AnimationPath,
|
||||
{
|
||||
ADD_USER_SERIALIZER( TimeControlPointMap ); // _timeControlPointMap
|
||||
|
||||
BEGIN_ENUM_SERIALIZER( LoopMode, NO_LOOPING );
|
||||
BEGIN_ENUM_SERIALIZER( LoopMode, LOOP );
|
||||
ADD_ENUM_VALUE( SWING );
|
||||
ADD_ENUM_VALUE( LOOP );
|
||||
ADD_ENUM_VALUE( NO_LOOPING );
|
||||
|
||||
Reference in New Issue
Block a user