mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Fix from Fei Wang that solves the bone hierarchy bug in the max exporter
This commit is contained in:
parent
33a94a3996
commit
e78d339a9c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user