Ignore:
Timestamp:
Nov 24, 2010, 9:46:41 PM (13 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
experimental/TerrainTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • experimental/TerrainTest/myTerrainTechnique.h

    r163 r164  
    1111
    1212        /** Copy constructor using CopyOp to manage deep vs shallow copy.*/
    13     myTerrainTechnique(const TerrainTechnique&,const osg::CopyOp& copyop=osg::CopyOp::DEEP_COPY_ALL);
     13    myTerrainTechnique(const TerrainTechnique&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
    1414
    1515        META_Object(osgTerrain, myTerrainTechnique);
  • experimental/TerrainTest/osgterrain.cpp

    r163 r164  
    217217
    218218        // Manually set the terrain technque for a tile ( his example, the first found tile) works, but then the whole database has to be processed
    219         /*osgTerrain::TerrainTile* tile = findTopMostNodeOfType<osgTerrain::TerrainTile>(rootnode);
     219        osgTerrain::TerrainTile* tile = findTopMostNodeOfType<osgTerrain::TerrainTile>(rootnode);
    220220        if(tile)
    221221        {
    222222                tile->setTerrainTechnique( myT );
    223         }*/
     223        }
    224224
    225225    // register our custom handler for adjust Terrain settings
Note: See TracChangeset for help on using the changeset viewer.