Changeset 255 for experimental/TerrainTest/ModificationVisitor.cpp
- Timestamp:
- Feb 21, 2011, 8:26:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/TerrainTest/ModificationVisitor.cpp
r252 r255 9 9 { 10 10 //OSG_NOTIFY( osg::ALWAYS ) << "ModVisitor: Node found: " << node.className() << std::endl; 11 12 if(std::string(node.className())=="TerrainTile") 13 { 14 OSG_NOTIFY( osg::ALWAYS ) << "ModVisitor: Tile found" << std::endl; 15 modifyTile(node); 16 } 17 11 18 traverse( node ); 12 19 } … … 29 36 traverse( pNode ); 30 37 } 38 39 void ModificationVisitor::modifyTile(osg::Node& node) 40 { 41 OSG_NOTIFY( osg::ALWAYS ) << "ModificationVisitor::modifyTerrain()" << std::endl; 42 43 44 45 46 47 OpenThreads::Thread::microSleep( 500000 ); 48 }
Note: See TracChangeset
for help on using the changeset viewer.