Show
Ignore:
Timestamp:
10/05/04 17:08:54 (10 years ago)
Author:
robert
Message:

Added ability to alter the verbosity of the notify messages with the
running of osgTerrain::DataSet? via a static s/getNotifyOffset(int) method.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgsimulation/osgsimulation.cpp

    r3423 r3469  
    2727            rs->useConfigEventThread(false); 
    2828            rs->realize(); 
    29             std::cout<<"Realized window"<<std::endl; 
    3029        } 
    3130 
     
    4443    { 
    4544        std::string filename = osgDB::findDataFile("Images/land_shallow_topo_2048.jpg"); 
     45 
     46        // make osgTerrain::DataSet quieter.. 
     47        osgTerrain::DataSet::setNotifyOffset(1); 
    4648 
    4749        osg::ref_ptr<osgTerrain::DataSet> dataSet = new osgTerrain::DataSet;