From 896b8c58d49596f252ae5803fc1b2760a319058d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 26 Nov 2010 12:23:56 +0000 Subject: [PATCH] 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." --- src/osgWrappers/serializers/osg/AnimationPath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgWrappers/serializers/osg/AnimationPath.cpp b/src/osgWrappers/serializers/osg/AnimationPath.cpp index 687398d3e..c1337878c 100644 --- a/src/osgWrappers/serializers/osg/AnimationPath.cpp +++ b/src/osgWrappers/serializers/osg/AnimationPath.cpp @@ -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 );