haz00 / blender-g3d-exporter

Export Blender scene to internal LibGDX format
GNU General Public License v3.0
12 stars 3 forks source link

Animations not exported with Blender 4.0 #6

Open ryuukk opened 7 months ago

ryuukk commented 7 months ago

Model not exported with animations, most likely due to a breaking change:

https://projects.blender.org/blender/blender/issues/105523

ryuukk commented 7 months ago

More info here: https://developer.blender.org/docs/release_notes/4.0/upgrading/bone_collections/

ryuukk commented 7 months ago

Looks like keyframes are not being exported, therefore no bones added, therefore no animations added

I don't know how to debug this further tho

Perhaps some important changes here: https://developer.blender.org/docs/release_notes/4.0/python_api/

ryuukk commented 6 months ago

char.zip

here model i have been testing

ryuukk commented 6 months ago

https://github.com/haz00/blender-g3d-exporter/blob/452372d31dd0bf04a14891fa42506fcd33ac7d92/g3d_exporter/builder.py#L869-L870

Here, there seems to only be "Armature", it can't find the bone

So this must be related to the bone collection change