From e78d339a9c84a4dccc3b401f5653ee3406b1ef3c Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 10 Jul 2009 06:34:20 +0000 Subject: [PATCH] Fix from Fei Wang that solves the bone hierarchy bug in the max exporter --- pandatool/src/maxegg/maxOptionsDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandatool/src/maxegg/maxOptionsDialog.cxx b/pandatool/src/maxegg/maxOptionsDialog.cxx index a20eea1c33..16aa5bff35 100644 --- a/pandatool/src/maxegg/maxOptionsDialog.cxx +++ b/pandatool/src/maxegg/maxOptionsDialog.cxx @@ -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