Changed osg::ImageSequence::set/getDuration to set/getLength() to be in keeping with the

osg::ImageStream's getLength().
This commit is contained in:
Robert Osfield
2008-08-15 16:21:44 +00:00
parent b6292f4537
commit 38f6cddc2c
6 changed files with 60 additions and 46 deletions

View File

@@ -126,14 +126,9 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
__Mode__getMode,
"",
"");
I_Method1(void, setDuration, IN, double, duration,
I_Method1(void, setLength, IN, double, length,
Properties::NON_VIRTUAL,
__void__setDuration__double,
"",
"");
I_Method0(double, getDuration,
Properties::NON_VIRTUAL,
__double__getDuration,
__void__setLength__double,
"",
"");
I_Method0(double, getLength,
@@ -188,9 +183,6 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
__void__computeTimePerImage,
"",
"");
I_SimpleProperty(double, Duration,
__double__getDuration,
__void__setDuration__double);
I_SimpleProperty(osg::ImageSequence::FileNames &, FileNames,
__FileNames_R1__getFileNames,
0);
@@ -199,7 +191,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
0);
I_SimpleProperty(double, Length,
__double__getLength,
0);
__void__setLength__double);
I_SimpleProperty(osg::ImageSequence::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);