From Lilin Xiong, " there is a small bug in osgDB::readNodeFiles(std::vector<std::string>& 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 );"
This commit is contained in:
parent
f13dd3d75d
commit
0ce9407c69
@ -82,7 +82,7 @@ Node* osgDB::readNodeFiles(std::vector<std::string>& 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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user