- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/md2/ReaderWriterMD2.cpp
r12577 r13041 68 68 if (fileName.empty()) return ReadResult::FILE_NOT_FOUND; 69 69 70 // code for setting up the database path so that internally referenced file are searched for on relative paths. 70 // code for setting up the database path so that internally referenced file are searched for on relative paths. 71 71 osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHALLOW_COPY)) : new Options; 72 72 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); … … 173 173 return NULL; 174 174 } 175 175 176 176 if (read(file_fd, mapbase, st.st_size)==0) 177 177 { … … 417 417 418 418 result = base_switch; 419 419 420 420 #if 0 421 421 munamp (mapbase);
