diff --git a/src/osgDB/ReadFile.cpp b/src/osgDB/ReadFile.cpp index 169f47ff9..58c368b71 100644 --- a/src/osgDB/ReadFile.cpp +++ b/src/osgDB/ReadFile.cpp @@ -82,7 +82,7 @@ Node* osgDB::readNodeFiles(std::vector& fileList,const Options* opt itr!=fileList.end(); ++itr) { - osg::Node *node = osgDB::readNodeFile( *itr , Registry::instance()->getOptions() ); + osg::Node *node = osgDB::readNodeFile( *itr , options ); if( node != (osg::Node *)0L ) {