diff --git a/src/osgGA/AnimationPathManipulator.cpp b/src/osgGA/AnimationPathManipulator.cpp index e9b797af7..bbdd5f198 100644 --- a/src/osgGA/AnimationPathManipulator.cpp +++ b/src/osgGA/AnimationPathManipulator.cpp @@ -14,6 +14,8 @@ AnimationPathManipulator::AnimationPathManipulator( const std::string& filename { _animationPath = osgNew osg::AnimationPath; _animationPath->setLoopMode(osg::AnimationPath::LOOP); + _timeOffset = 0.0f; + _timeScale = 1.0f; FILE *fp = fopen( filename.c_str(), "r" ); if( fp == NULL )