Added in default value of _timeScale.

This commit is contained in:
Robert Osfield
2002-11-06 11:15:23 +00:00
parent 26875c965d
commit e34ecafb1e

View File

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