Changeset 216 for osgVisual/trunk


Ignore:
Timestamp:
Feb 1, 2011, 8:30:23 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
osgVisual/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/bin/osgVisualConfig.xml

    r215 r216  
    7171        </geometry>
    7272      </model>
    73       <trackmodel id="1"></trackmodel>
     73      <trackmodel id="1" updater_slot=""></trackmodel>
    7474    </models>
    7575    <datetime day="0" month="0" year="0" hour="12" minute="30"></datetime>
  • osgVisual/trunk/src/core/visual_core.cpp

    r215 r216  
    462462
    463463
    464 
    465464        //testObj = new visual_object( rootNode, "testStab", objectMountedCameraManip );
    466465        //testObj->setNewPosition( osg::DegreesToRadians(47.7123), osg::DegreesToRadians(12.84088), 600 );
     
    473472        //testObj2->setNewPosition( osg::DegreesToRadians(47.557523564234), osg::DegreesToRadians(10.749646398595), 950 );
    474473        //testObj2->loadGeometry( "../models/neuschwanstein.osgb" );
    475         ////testObj2->addUpdater( new object_updater(testObj2) );       // todo memleak
     474        ////testObj2->addUpdater( new object_updater(testObj2) );
    476475
    477476        //osg::ref_ptr<visual_object> testObj3 = new visual_object( rootNode, "SAENGER1" );     // todo memleak
    478477        //testObj3->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 600 );
    479478        //testObj3->loadGeometry( "../models/saenger1.flt" );
    480         //testObj3->addUpdater( new object_updater(testObj3) ); // todo memleak
     479        //testObj3->addUpdater( new object_updater(testObj3) );
    481480        //
    482481
     
    484483        testObj4->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 650 );
    485484        testObj4->loadGeometry( "../models/saenger2.flt" );
    486         testObj4->addUpdater( new object_updater(testObj4) );   // todo memleak
     485        testObj4->addUpdater( new object_updater(testObj4) );
    487486        testObj4->addLabel("testLabel", "Object4 :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f));
    488487
     
    491490        //testObj5->loadGeometry( "../models/saengerCombine.flt" );
    492491        ////testObj5->setScale( 2 );
    493         //testObj5->addUpdater( new object_updater(testObj5) ); // todo memleak
     492        //testObj5->addUpdater( new object_updater(testObj5) );
    494493
    495494        trackNode( testObj4 );
Note: See TracChangeset for help on using the changeset viewer.