diff --git a/examples/slideshow3D/SlideEventHandler.cpp b/examples/slideshow3D/SlideEventHandler.cpp index a8e8619a6..868b7c86e 100644 --- a/examples/slideshow3D/SlideEventHandler.cpp +++ b/examples/slideshow3D/SlideEventHandler.cpp @@ -53,7 +53,7 @@ void SlideEventHandler::set(osg::Node* model) } else { - std::cout<<"Not found presentation "<setAutoSteppingActive(autoSteppingActive); + seh->setTimeDelayBetweenSlides(timeDelayBetweenSlides); // if user request help write it out to cout. if (arguments.read("-h") || arguments.read("--help")) @@ -66,11 +76,11 @@ int main( int argc, char **argv ) // read the scene from the list of file specified commandline args. osg::ref_ptr loadedModel = osgDB::readNodeFiles(arguments); - // if no model loaded create a default presentation. - if (!loadedModel) - { - loadedModel = createDefaultPresentation(); - } +// // if no model loaded create a default presentation. +// if (!loadedModel) +// { +// loadedModel = createDefaultPresentation(); +// } // if no model has been successfully loaded report failure. diff --git a/runexamples.bat b/runexamples.bat index c63e6bbc2..cf24c1e84 100644 --- a/runexamples.bat +++ b/runexamples.bat @@ -4,10 +4,10 @@ osgversion echo osglogo osglogo -echo slideshow3D introduction.xml +echo slideshow3D -a introduction.xml slideshow3D introduction.xml -echo slideshow3D models.xml +echo slideshow3D -a models.xml slideshow3D models.xml echo osgviewer cow.osg