Removed default assignement of GeometryTechnique as the TerrainTechniquePrototype.
This commit is contained in:
parent
c1da825a7b
commit
c89c2502ed
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user