Fixed build

This commit is contained in:
Robert Osfield 2009-07-16 11:48:08 +00:00
parent c2c5a82b92
commit 6771d528a3

View File

@ -244,7 +244,7 @@ osg::Node* p3d::readShowFiles(osg::ArgumentParser& arguments,const osgDB::Reader
if (!arguments.isOption(pos)) if (!arguments.isOption(pos))
{ {
// not an option so assume string is a filename. // not an option so assume string is a filename.
osg::Node *node = osgDB::readNodeFile( arguments[pos], local_options); osg::Node *node = osgDB::readNodeFile( arguments[pos], local_options.get());
if(node) if(node)
{ {