What steps will reproduce the problem?
When a collada skeleton has nodes whose parents are joints, it does not
parse their children.
For example, if the skeleton begins like so:
<node id="root" name="root" sid="bone0" type="JOINT">
<node id="waist" name="waist" sid="bone1" type="JOINT">
<node id="back1Grp" name="back1Grp" type="NODE">
<node id="back1" name="back1" sid="bone2" type="JOINT">
<node id="back2Grp" name="back2Grp" type="NODE">
<node id="back2" name="back2" sid="bone3" type="JOINT">
<etc...>
Then nothing below "bone1" gets parsed.
Please provide any additional information below.
The issue appears to be in Collada.as:parseNode(), on the following line:
if (String(node["instance_node"].@url) == "" && (String(node["node"]) ==
"" || parent is BoneData))
Removing the type check on parent resolves the issue for me. I have
attached a patch that removes the check.
Original issue reported on code.google.com by ken.rai...@gmail.com on 28 Oct 2009 at 10:16
Original issue reported on code.google.com by
ken.rai...@gmail.com
on 28 Oct 2009 at 10:16Attachments: