Changeset 11159
- Timestamp:
- 03/05/10 12:19:34 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp
r10283 r11159 282 282 // setting up the database path so that internally referenced file are searched for on relative paths. 283 283 osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHALLOW_COPY)) : new Options; 284 local_opt-> setDatabasePath(osgDB::getFilePath(fileName));284 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); 285 285 286 286 ReadResult rr;
