- fbx: ignore IKEffector nodes.

pull/14/head
Alexander Gessler 2012-07-27 17:57:30 +02:00
parent 44259f0c23
commit bb8e8c6673
1 changed files with 4 additions and 1 deletions

View File

@ -519,7 +519,10 @@ const Object* LazyObject::Get(bool dieOnError)
}
}
else if (!strncmp(obtype,"Model",length)) {
object.reset(new Model(id,element,doc,name));
// do not load IKEffectors yet
if (strcmp(classtag.c_str(),"IKEffector")) {
object.reset(new Model(id,element,doc,name));
}
}
else if (!strncmp(obtype,"Material",length)) {
object.reset(new Material(id,element,doc,name));