godotengine / godot-blender-exporter

Addon for Blender to directly export to a Godot Scene
GNU General Public License v2.0
1.16k stars 132 forks source link

Blendshapes no longer work with Godot 3.2 #207

Closed mysticfall closed 5 years ago

mysticfall commented 5 years ago

OS: Manjaro Linux 18.3

Godot version: master / 7be498499

Blender version: 2.8-beta / 5ac7675f4

Issue description: Blender shapes used to work with Godot 3.2 / Blender 2.8 before, but it stopped working recently. Sorry I cannot be more specific, since I'm constantly updating my Godot and Blender installations so it's not easy to determine the precise point when the bug was introduced.

At least, I managed to create a minimal Blender project to reproduce the issue. It contains a single cube with a single shape key.

And when I export it using the exporter, the resulting mesh in the .escn scene shows correct blend shape slider but changing it doesn't produce any visual effect.

On the other hand, if I open the scene in Blender 2.7 and export it using Better Collada, it produces a scene with corretly working blendshape.

Minimal reproduction project:

blendshape.tar.gz

Jason0214 commented 5 years ago

after some testing, it looks like a python API breakage in a recent blender2.8 beta build.

Jason0214 commented 5 years ago

I have tried hard to find where exactly the issue is, but failed.. I end up opening an topic at https://devtalk.blender.org/t/blender-2-8-shape-key-related-api-changed-recently/6904, hope I can get some help there

Jason0214 commented 5 years ago

fixed by #213