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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user