Introduced the use of ref_ptr<> in read show methods

This commit is contained in:
Robert Osfield
2010-04-28 17:29:31 +00:00
parent bff3fcbe72
commit f27678dbb9
3 changed files with 9 additions and 10 deletions

View File

@@ -26,11 +26,11 @@ bool readEnvVars(osg::ArgumentParser& arguments);
bool readEnvVars(const std::string& filename);
osg::Node* readHoldingSlide(const std::string& filename);
osg::ref_ptr<osg::Node> readHoldingSlide(const std::string& filename);
osg::Node* readPresentation(const std::string& filename,const osgDB::ReaderWriter::Options* options);
osg::ref_ptr<osg::Node> readPresentation(const std::string& filename,const osgDB::ReaderWriter::Options* options);
osg::Node* readShowFiles(osg::ArgumentParser& arguments,const osgDB::ReaderWriter::Options* options);
osg::ref_ptr<osg::Node> readShowFiles(osg::ArgumentParser& arguments,const osgDB::ReaderWriter::Options* options);
}