diff --git a/include/osgDB/ReaderWriter b/include/osgDB/ReaderWriter index 677d2590f..27cf30825 100644 --- a/include/osgDB/ReaderWriter +++ b/include/osgDB/ReaderWriter @@ -54,7 +54,7 @@ class OSGDB_EXPORT ReaderWriter : public osg::Object virtual const FormatDescriptionMap& supportedProtocols() const { return _supportedProtocols; } /** return which list of file extensions supported by ReaderWriter. */ - virtual const FormatDescriptionMap& supportedExtension() const { return _supportedExtensions; } + virtual const FormatDescriptionMap& supportedExtensions() const { return _supportedExtensions; } /** return which list of file extensions supported by ReaderWriter. */ virtual const FormatDescriptionMap& supportedOptions() const { return _supportedOptions; } diff --git a/include/osgDB/Registry b/include/osgDB/Registry index 98dc9607c..9a4dae6b4 100644 --- a/include/osgDB/Registry +++ b/include/osgDB/Registry @@ -115,8 +115,16 @@ class OSGDB_EXPORT Registry : public osg::Referenced /** close all libraries.*/ void closeAllLibraries(); + typedef std::vector< osg::ref_ptr > ReaderWriterList; + /** get a reader writer which handles specified extension.*/ ReaderWriter* getReaderWriterForExtension(const std::string& ext); + + /** get list of all registered ReaderWriters.*/ + ReaderWriterList& getReaderWriterList() { return _rwList; } + + /** get const list of all registered ReaderWriters.*/ + const ReaderWriterList& getReaderWriterList() const { return _rwList; } osg::Object* readObjectOfType(const osg::Object& compObj,Input& fr); osg::Object* readObjectOfType(const basic_type_wrapper &btw, Input& fr); @@ -450,7 +458,6 @@ class OSGDB_EXPORT Registry : public osg::Referenced virtual ~Registry(); - typedef std::vector< osg::ref_ptr > ReaderWriterList; typedef std::map< std::string, osg::ref_ptr > DotOsgWrapperMap; typedef std::vector< osg::ref_ptr > DynamicLibraryList; typedef std::map< std::string, std::string> ExtensionAliasMap; diff --git a/src/osgShadow/ShadowVolume.cpp b/src/osgShadow/ShadowVolume.cpp index 6d6d78f31..ed906fa2c 100644 --- a/src/osgShadow/ShadowVolume.cpp +++ b/src/osgShadow/ShadowVolume.cpp @@ -39,7 +39,7 @@ ShadowVolume::ShadowVolume(): { // _drawMode = osgShadow::ShadowVolumeGeometry::GEOMETRY; - osg::notify(osg::NOTICE)<<"Warning: osgShadow::ShadowVolume technique is still in development, with current limitations that make it unsuitable for deployment. Please contact the osg-users for an update of developements."<