#include <simgear/misc/sg_path.hxx>
#include <simgear/scene/model/location.hxx>
#include <simgear/scene/model/model.hxx>
-#include <simgear/scene/model/personality.hxx>
#include <simgear/debug/logstream.hxx>
#include <simgear/props/props.hxx>
// some more code here to check whether a model with this name has already been loaded
// if not load it, otherwise, get the memory pointer and do something like
// SetModel as in ATC/AIEntity.cxx
- osg::Group* personality_branch = new SGPersonalityBranch;
+ osg::Group* personality_branch = new osg::Group;
model = manager->getModel(path);
if (!(model)) {
}
last_time_stamp = current_time_stamp;
globals->inc_sim_time_sec( delta_time_sec );
- SGAnimation::set_sim_time_sec( globals->get_sim_time_sec() );
// These are useful, especially for Nasal scripts.
fgSetDouble("/sim/time/delta-realtime-sec", real_delta_time_sec);