mirror of
https://github.com/appgurueu/modlib.git
synced 2024-12-22 13:22:27 +01:00
b3d -> glTF: Use mesh as skeleton root
This commit is contained in:
parent
f7d2b005e1
commit
e91a406742
2
b3d.lua
2
b3d.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user