Fix from Fei Wang that solves the bone hierarchy bug in the max exporter

This commit is contained in:
rdb 2009-07-10 06:34:20 +00:00
parent 33a94a3996
commit e78d339a9c

View File

@ -185,7 +185,7 @@ int AddNodeCB::filter(INode *node) {
return is_bone && !ph->FindNode(node->GetHandle());
else
return (
!is_bone &&
is_bone ||
((obj->SuperClassID() == GEOMOBJECT_CLASS_ID && //Allow geometrics
obj->CanConvertToType(Class_ID(TRIOBJ_CLASS_ID, 0))) ||
(obj->SuperClassID() == SHAPE_CLASS_ID && //Allow CV NURBS