Changeset 191 for osgVisual/trunk/src


Ignore:
Timestamp:
Jan 11, 2011, 10:10:59 AM (14 years ago)
Author:
Torben Dannhauer
Message:

animationpath is now configurable by XML

File:
1 edited

Legend:

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

    r189 r191  
    231231
    232232                // Animation path manipulator
    233         std::string pathfile;
     233                std::string pathfile = util::getAnimationPathFromXMLConfig(configFilename);
    234234        char keyForAnimationPath = '8';
    235         while (arguments.read("-p",pathfile))
     235                if( pathfile != "" )
    236236        {
    237237            osgGA::AnimationPathManipulator* apm = new osgGA::AnimationPathManipulator(pathfile);
Note: See TracChangeset for help on using the changeset viewer.