Changeset 364


Ignore:
Timestamp:
Apr 23, 2012, 10:39:45 PM (7 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

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

    r324 r364  
    5353
    5454        // Setup pathes
     55        osgDB::Registry::instance()->getDataFilePathList().push_front("H:\AllInOnDB");
    5556        osgDB::Registry::instance()->getDataFilePathList().push_back( "D:\\DA\\osgVisual\\models" );
     57
    5658       
    5759        // Setup viewer
     
    215217
    216218                // terrain is parsend seperately
    217                 // animationpath is parsend seperately
     219                // animationpath is parsend seperately in util::getAnimationPathFromXMLConfig(..) which invokes this function.
    218220
    219221                if(cur_node->type == XML_ELEMENT_NODE && node_name == "models")
     
    404406        //testObj3->setTrackingId(4);
    405407
    406         osg::ref_ptr<visual_object> testObj4 = new visual_object( rootNode, "SAENGER2" );       // todo memleak
    407         testObj4->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 650 );
    408         testObj4->loadGeometry( "../models/saenger2.flt" );
    409         testObj4->addUpdater( new object_updater(testObj4) );
    410         testObj4->addLabel("testLabel", "Object4 :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f));
    411         testObj4->setTrackingId(2);
     408        //osg::ref_ptr<visual_object> testObj4 = new visual_object( rootNode, "SAENGER2" );     // todo memleak
     409        //testObj4->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 650 );
     410        //testObj4->loadGeometry( "../models/saenger2.flt" );
     411        //testObj4->addUpdater( new object_updater(testObj4) );
     412        //testObj4->addLabel("testLabel", "Object4 :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f));
     413        //testObj4->setTrackingId(2);
    412414
    413415        //osg::ref_ptr<visual_object> testObj5 = new visual_object( rootNode, "SAENGER" );      // todo memleak
     
    418420        //testObj5->setTrackingId(6);
    419421
    420         manipulators->trackNode( testObj4 );
     422        //manipulators->trackNode( testObj4 );
    421423
    422424        // Load EDDF
Note: See TracChangeset for help on using the changeset viewer.