#include "modellib.hxx"
+#include <simgear/math/SGMath.hxx>
+
using namespace simgear;
opt->setPropRoot(prop_root);
opt->setModelData(data);
osg::Node *n = readNodeFile(path, opt.get());
- if(data)
- data->modelLoaded(path, 0, n);
if (n && n->getName().empty())
n->setName("Direct loaded model \"" + path + "\"");
return n;