fix regression: sgLoad3DModel_internal should not make assumptions

about the type of SGModelData. This *can* have to do with Nasal,
but doesn't have to. That's entirely that class instance's business.
This commit is contained in:
mfranz
2008-10-18 18:44:36 +00:00
parent 7585ad430a
commit 2ccd58e917

View File

@@ -310,10 +310,8 @@ sgLoad3DModel_internal(const string &path,
}
if (data) {
SGPropertyNode *nasal = props->getNode("nasal", false);
data->setProps(nasal);
data->setProps(props);
group->setUserData(data);
//data->modelLoaded(path, nasal, group.get());
}
std::vector<SGPropertyNode_ptr> animation_nodes;