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:
Robert Osfield
2010-11-26 12:23:56 +00:00
parent 1a69b98ca1
commit 896b8c58d4

View File

@@ -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 );