Changeset 9151 for OpenSceneGraph/branches/OpenSceneGraph-osgWidget-dev/examples/osganimationtimeline/osganimationtimeline.cpp
- Timestamp:
- 11/11/08 23:35:14 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/branches/OpenSceneGraph-osgWidget-dev/examples/osganimationtimeline/osganimationtimeline.cpp
r9150 r9151 71 71 _scratchHead->setLoop(1); // one time 72 72 73 map["Idle_Nose_Scratch.01"]->setDuration(10.0); // set this animation duration to 10 seconds 73 74 _scratchNose = new osgAnimation::StripAnimation(map["Idle_Nose_Scratch.01"].get(),0.2,0.3); 74 _scratch Head->setLoop(1); // one time75 _scratchNose->setLoop(1); // one time 75 76 76 77 // add the main loop at priority 0 at time 0.
