diff --git a/src/osgPresentation/SlideShowConstructor.cpp b/src/osgPresentation/SlideShowConstructor.cpp index d62f9e7a0..f8e730c06 100644 --- a/src/osgPresentation/SlideShowConstructor.cpp +++ b/src/osgPresentation/SlideShowConstructor.cpp @@ -1751,7 +1751,7 @@ osg::Image* SlideShowConstructor::addInteractiveImage(const std::string& filenam std::string SlideShowConstructor::findFileAndRecordPath(const std::string& filename) { std::string foundFile = osgDB::findDataFile(filename, _options.get()); - if (foundFile.empty()) return foundFile; + if (foundFile.empty()) return filename; OSG_INFO<<"foundFile "<addUpdateCallback(new VolumeRegionCallback((matrix.valid() ? *matrix : osg::Matrixd::identity()), volumeData.region)); + tile->addUpdateCallback(new VolumeRegionCallback((matrix.valid() ? *matrix : osg::Matrix::identity()), volumeData.region)); } else {