Show
Ignore:
Timestamp:
08/15/08 18:21:44 (6 years ago)
Author:
robert
Message:

Changed osg::ImageSequence::set/getDuration to set/getLength() to be in keeping with the
osg::ImageStream?'s getLength().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgimagesequence/osgimagesequence.cpp

    r8755 r8758  
    4646    osg::ref_ptr<osg::ImageSequence> imageSequence = new osg::ImageSequence; 
    4747 
    48     imageSequence->setDuration(2.0); 
     48    imageSequence->setLength(4.0); 
    4949    imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/posx.png")); 
    5050    imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negx.png"));