Shape keys marked as "Relative To" non-basis shapekeys are exported wrongly. #1403
Labels
enhancement
New feature or request
exporter
This involves or affects the export process
Mesh_&_Object
Describe the bug
If a shape key is set to be Relative To a non-Basis shape key, turning it on should only apply the deformation that would go from the Relative To shape key to itself. See below for a visual example.
Exporting to .gltf doesn't preserve this behavior.
To Reproduce
Steps to reproduce the behavior:
These are probably excessively detailed!
At this point, turning on Key 1 but not Key 2 should raise the top of the cube, turning on Key 2 but not Key 1 should move the side of the cube, and turning on both should raise the top and the side of the cube.
Expected behavior
Key 2 should only make the cube's side move. This should mirror the behavior of the FBX exporter, which modifies the shape keys so that they keep working properly.
Screenshots
From left to right: Both keys off, Key 1 on, Key 2 on, both keys on. Key 2 is marked as relative to Key 1.
Expected behavior:
GLTF behavior:
.blend file/ .gltf
Here's the original .blend file, plus the resulting FBX and GLTF files.
shape-key-bug.zip
Version
Additional context
The FBX exporter doesn't actually preserve the Relative To property, since I don't think that concept exists outside of Blender.
The text was updated successfully, but these errors were encountered: