Show
Ignore:
Timestamp:
09/06/05 21:54:29 (9 years ago)
Author:
robert
Message:

Added s/getContinousUpdate(bool) method to OverlayNode?.

Files:
1 modified

Legend:

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

    r4487 r4507  
    310310        if (insertOverlayNode) 
    311311        { 
     312         
    312313            overlayNode = new osgSim::OverlayNode; 
     314             
     315            // insert the OverlayNode between the coordinate system node and its children. 
    313316            for(unsigned int i=0; i<csn->getNumChildren(); ++i) 
    314317            { 
     
    318321            csn->removeChild(0, csn->getNumChildren()); 
    319322            csn->addChild(overlayNode.get()); 
     323             
     324            // tell the overlay node to continously update its overlay texture 
     325            // as we know we'll be tracking a moving target. 
     326            overlayNode->setContinousUpdate(true); 
    320327        } 
    321328