Changeset 216
- Timestamp:
- Feb 1, 2011, 8:30:23 PM (14 years ago)
- Location:
- osgVisual/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/bin/osgVisualConfig.xml
r215 r216 71 71 </geometry> 72 72 </model> 73 <trackmodel id="1" ></trackmodel>73 <trackmodel id="1" updater_slot=""></trackmodel> 74 74 </models> 75 75 <datetime day="0" month="0" year="0" hour="12" minute="30"></datetime> -
osgVisual/trunk/src/core/visual_core.cpp
r215 r216 462 462 463 463 464 465 464 //testObj = new visual_object( rootNode, "testStab", objectMountedCameraManip ); 466 465 //testObj->setNewPosition( osg::DegreesToRadians(47.7123), osg::DegreesToRadians(12.84088), 600 ); … … 473 472 //testObj2->setNewPosition( osg::DegreesToRadians(47.557523564234), osg::DegreesToRadians(10.749646398595), 950 ); 474 473 //testObj2->loadGeometry( "../models/neuschwanstein.osgb" ); 475 ////testObj2->addUpdater( new object_updater(testObj2) ); // todo memleak474 ////testObj2->addUpdater( new object_updater(testObj2) ); 476 475 477 476 //osg::ref_ptr<visual_object> testObj3 = new visual_object( rootNode, "SAENGER1" ); // todo memleak 478 477 //testObj3->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 600 ); 479 478 //testObj3->loadGeometry( "../models/saenger1.flt" ); 480 //testObj3->addUpdater( new object_updater(testObj3) ); // todo memleak479 //testObj3->addUpdater( new object_updater(testObj3) ); 481 480 // 482 481 … … 484 483 testObj4->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 650 ); 485 484 testObj4->loadGeometry( "../models/saenger2.flt" ); 486 testObj4->addUpdater( new object_updater(testObj4) ); // todo memleak485 testObj4->addUpdater( new object_updater(testObj4) ); 487 486 testObj4->addLabel("testLabel", "Object4 :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f)); 488 487 … … 491 490 //testObj5->loadGeometry( "../models/saengerCombine.flt" ); 492 491 ////testObj5->setScale( 2 ); 493 //testObj5->addUpdater( new object_updater(testObj5) ); // todo memleak492 //testObj5->addUpdater( new object_updater(testObj5) ); 494 493 495 494 trackNode( testObj4 );
Note: See TracChangeset
for help on using the changeset viewer.