KhronosGroup / glTF-Blender-IO

Blender glTF 2.0 importer and exporter
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html
Apache License 2.0
1.49k stars 317 forks source link

Strange bone displacement when exporting deformation only bones #1659

Closed antourenein closed 2 years ago

antourenein commented 2 years ago

Describe the bug

In Blender 3.2 RC, exporting a model rigged with a rigify rig and checking the option Export Deformation Bones Only causes some unexpected displacement of certain bones.

How the model looks and animates originally:

https://user-images.githubusercontent.com/79013106/171981310-fb34b39f-7fc5-4ce5-8590-bdc7ee309fae.mp4

How the model looks after being exported and then re-imported:

https://user-images.githubusercontent.com/79013106/171981548-b2948769-120c-4cf5-abcc-2c724d5babac.mp4

(The hands are the main strange point here. It also looks like this in every other viewer I tested, which were Godot Engine and Sketchfab.)

In Blender 3.1 exporting with the same settings looked fine, even if the bone ordering was shuffled around in the gltf file at each export:

https://user-images.githubusercontent.com/79013106/171981844-fb8467df-cf38-4b6c-8698-c892a1e7a2cd.mp4

.blend file/ .gltf

dummy-blend.zip

Version

julienduroure commented 2 years ago

Confirmed. Fixed in 65e2df6aa1459c213fa76a471abfe671185ee126