Changeset 216 for osgVisual/trunk/src
- Timestamp:
- Feb 1, 2011, 8:30:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.