Ignore:
Timestamp:
Feb 1, 2011, 8:14:45 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/src/core/visual_core.cpp

    r214 r215  
    481481        //
    482482
    483         osg::ref_ptr<visual_object> testObj4 = new visual_object( rootNode, "SAENGER2" );       // todo memleak
     483        osg::ref_ptr<visual_object> testObj4 = new visual_object( rootNode, "SAENGER23" );      // todo memleak
    484484        testObj4->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 650 );
    485485        testObj4->loadGeometry( "../models/saenger2.flt" );
    486486        testObj4->addUpdater( new object_updater(testObj4) );   // todo memleak
    487         testObj4->addLabel("testLabel", "LabelTest!!\nnächste Zeile :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f));
     487        testObj4->addLabel("testLabel", "Object4 :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f));
    488488
    489489        //osg::ref_ptr<visual_object> testObj5 = new visual_object( rootNode, "SAENGER" );      // todo memleak
     
    545545        if(trackedObject)
    546546        {
    547                 if(trackedObject->getGeometry())
    548                         node = trackedObject->getGeometry();
    549                 else
    550                         node = trackedObject;
     547                node = trackedObject->getGeometry();
    551548
    552549                // Object mounted manipulator ( Only working with visual_object, not with osg::Node )
Note: See TracChangeset for help on using the changeset viewer.