From e34ecafb1e8a6be7655f9d8daef45e923619b88a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 6 Nov 2002 11:15:23 +0000 Subject: [PATCH] Added in default value of _timeScale. --- src/osgGA/AnimationPathManipulator.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 )