- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/lws/ReaderWriterLWS.cpp
r8578 r13041 37 37 virtual ReadResult readNode(const std::string &file, const osgDB::ReaderWriter::Options *options) const 38 38 { 39 std::string ext = osgDB::getLowerCaseFileExtension(file); 39 std::string ext = osgDB::getLowerCaseFileExtension(file); 40 40 if (!acceptsExtension(ext)) return ReadResult::FILE_NOT_HANDLED; 41 41 … … 43 43 if (fileName.empty()) return ReadResult::FILE_NOT_FOUND; 44 44 45 // code for setting up the database path so that internally referenced file are searched for on relative paths. 45 // code for setting up the database path so that internally referenced file are searched for on relative paths. 46 46 osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHALLOW_COPY)) : new Options; 47 47 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); … … 62 62 protected: 63 63 64 64 65 65 66 66 };
