- Timestamp:
- 09/06/05 21:54:29 (8 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgsimulation/osgsimulation.cpp
r4487 r4507 310 310 if (insertOverlayNode) 311 311 { 312 312 313 overlayNode = new osgSim::OverlayNode; 314 315 // insert the OverlayNode between the coordinate system node and its children. 313 316 for(unsigned int i=0; i<csn->getNumChildren(); ++i) 314 317 { … … 318 321 csn->removeChild(0, csn->getNumChildren()); 319 322 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); 320 327 } 321 328
