提交 db3fd314 编写于 作者: R Rémi Arnaud

Merge pull request #421 from fl4re/fix/maya/rigidbody-export

always export rigid bodies as nodes
......@@ -380,23 +380,6 @@ namespace COLLADAMaya
return false;
}
// If rigid body has no target then export it as a node
if (nodeTypeName == NX_RIGID_BODY)
{
MObject target = DagHelper::getNodeConnectedTo(object, ATTR_TARGET);
if (target.isNull())
{
isForced = false;
isVisible = true;
isPhysics = false;
return true;
}
else
{
return false;
}
}
// If we are not already forcing this node, its children
// check whether we should be forcing it (skinning of hidden joints).
isForced = isForcedNode ( dagPath );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册