b3d -> glTF: Use mesh as skeleton root

This commit is contained in:
Lars Mueller 2023-02-28 00:21:38 +01:00
parent f7d2b005e1
commit e91a406742

@ -961,7 +961,7 @@ do
return #anim.inv_bind_mats
end),
joints = anim.joints,
skeleton = anim.joints[1],
skeleton = node_id,
})
skin_id = #skins - 1 -- 0-based
end