From 0ce9407c69205dcc8440cd5e15191efe8ec051be Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 3 Sep 2012 08:30:01 +0000 Subject: [PATCH] From Lilin Xiong, " there is a small bug in osgDB::readNodeFiles(std::vector& fileList,const Options* options) in file ReadFile.cpp line 85: osg::Node *node = osgDB::readNodeFile( *itr , Registry::instance()->getOptions() ); It should be: osg::Node *node = osgDB::readNodeFile( *itr , options );" --- src/osgDB/ReadFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {