Update ReaderWriterDAE.cpp
This commit is contained in:
@@ -144,6 +144,9 @@ ReaderWriterDAE::readNode(const std::string& fname,
|
|||||||
std::string fileName( osgDB::findDataFile( fname, options ) );
|
std::string fileName( osgDB::findDataFile( fname, options ) );
|
||||||
if( fileName.empty() ) return ReadResult::FILE_NOT_FOUND;
|
if( fileName.empty() ) return ReadResult::FILE_NOT_FOUND;
|
||||||
|
|
||||||
|
pluginOptions.options = options ? osg::clone(options, osg::CopyOp::SHALLOW_COPY) : new Options;
|
||||||
|
pluginOptions.options->getDatabasePathList().push_front(osgDB::getFilePath(fileName));
|
||||||
|
|
||||||
OSG_INFO << "ReaderWriterDAE( \"" << fileName << "\" )" << std::endl;
|
OSG_INFO << "ReaderWriterDAE( \"" << fileName << "\" )" << std::endl;
|
||||||
|
|
||||||
if (NULL == pDAE)
|
if (NULL == pDAE)
|
||||||
|
|||||||
Reference in New Issue
Block a user