Renamed osgTerrain::TerrainSystem to osgTerrain::Terrain

This commit is contained in:
Robert Osfield
2008-03-27 11:55:03 +00:00
parent 35c5bd2c92
commit 6396a156a2
12 changed files with 75 additions and 236 deletions

View File

@@ -38,7 +38,7 @@
#include <osgGA/AnimationPathManipulator>
#include <osgGA/TerrainManipulator>
#include <osgTerrain/TerrainSystem>
#include <osgTerrain/Terrain>
#include <osgViewer/ViewerEventHandlers>
#include <osgViewer/Viewer>
@@ -198,10 +198,10 @@ int main( int argc, char **argv )
return 1;
}
osgTerrain::TerrainSystem* terrain = findTopMostNodeOfType<osgTerrain::TerrainSystem>(rootnode);
osgTerrain::Terrain* terrain = findTopMostNodeOfType<osgTerrain::Terrain>(rootnode);
if (!terrain)
{
terrain = new osgTerrain::TerrainSystem;
terrain = new osgTerrain::Terrain;
terrain->addChild(rootnode);
rootnode = terrain;