Skip to content

Commit

Permalink
Update ReaderWriterDAE.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
flashk committed Oct 12, 2018
1 parent 11dfe44 commit 3a40d93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/osgPlugins/dae/ReaderWriterDAE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ ReaderWriterDAE::readNode(const std::string& fname,

std::string fileName( osgDB::findDataFile( fname, options ) );
if( fileName.empty() ) return ReadResult::FILE_NOT_FOUND;

pluginOptions.options = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHALLOW_COPY)) : new Options;
pluginOptions.options->getDatabasePathList().push_front(osgDB::getFilePath(fileName));

OSG_INFO << "ReaderWriterDAE( \"" << fileName << "\" )" << std::endl;

Expand Down

0 comments on commit 3a40d93

Please sign in to comment.