Removed default assignement of GeometryTechnique as the TerrainTechniquePrototype.

This commit is contained in:
Robert Osfield 2010-11-25 11:40:09 +00:00
parent c1da825a7b
commit c89c2502ed

View File

@ -12,7 +12,6 @@
*/ */
#include <osgTerrain/Terrain> #include <osgTerrain/Terrain>
#include <osgTerrain/GeometryTechnique>
#include <osgUtil/UpdateVisitor> #include <osgUtil/UpdateVisitor>
#include <iterator> #include <iterator>
@ -29,7 +28,6 @@ Terrain::Terrain():
_equalizeBoundaries(false) _equalizeBoundaries(false)
{ {
setNumChildrenRequiringUpdateTraversal(1); setNumChildrenRequiringUpdateTraversal(1);
_terrainTechnique = new GeometryTechnique;
} }
Terrain::Terrain(const Terrain& ts, const osg::CopyOp& copyop): Terrain::Terrain(const Terrain& ts, const osg::CopyOp& copyop):