mirror of
https://github.com/appgurueu/modlib.git
synced 2024-08-20 13:24:11 +02: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
|
return #anim.inv_bind_mats
|
||||||
end),
|
end),
|
||||||
joints = anim.joints,
|
joints = anim.joints,
|
||||||
skeleton = anim.joints[1],
|
skeleton = node_id,
|
||||||
})
|
})
|
||||||
skin_id = #skins - 1 -- 0-based
|
skin_id = #skins - 1 -- 0-based
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user