Changeset 251 for experimental/TerrainTest/ReaderWriterTerrainMod.cpp
- Timestamp:
- Feb 21, 2011, 3:05:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/TerrainTest/ReaderWriterTerrainMod.cpp
r250 r251 20 20 return ReadResult::FILE_NOT_FOUND; 21 21 22 /*std::ifstream( fileName.c_str(), std::ios::in );23 if( !stream )24 return ReadResult::ERROR_IN_READING_FILE;25 return readNode( stream, options );*/26 27 22 // Strip the pseudo-loader extension 28 23 std::string realName = osgDB::getNameLessExtension( fileName ); … … 38 33 39 34 // Modify Node 35 OSG_NOTIFY( osg::ALWAYS ) << "Doing modification in pseudoloader!" << std::endl; 36 37 // Traverse through loaded graph, check for PagedLOD and modify all filenames of external references 38 ModificationVisitor modVisitor; 39 node->accept( modVisitor ); 40 41 std::string extensionToAdd = ".terrainmod"; 42 40 43 41 44 return node;
Note: See TracChangeset
for help on using the changeset viewer.