godotengine / godotengine/collada-exporter

Shape Key export fails when the mesh is in Edit Mode

Open
#93 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
438
Forks
135
PR merge metrics
No merged PRs in 30d

Description

The simple work-around is to switch to Object mode before exporting, but it did cause me some head-aches. When the export of a mesh with shape keys is done in Edit Mode, the vertex positions for all the shape keys are identical.

[shape_key_export_bug.zip](https://github.com/godotengine/collada-exporter/files/2615465/shape_key_export_bug.zip)

1) Start Blender 2.79b, Load "PyramidShapes.blend".
2) Export a first time to see the Pyramid with the correct blend shapes in Godot.
3) In Blender, enter Edit Mode for the Pyramid.
4) Export a second time, open the COLLADA document in Godot: the shape keys are present, but there is no movement of vertices.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached shape_key_export_bug.zip and reproduce the steps using Blender 2.79b and PyramidShapes.blend. Compare the COLLADA exports made in Object Mode and Edit Mode, then open them in Godot to verify that shape-key vertex positions still produce movement when exported from Edit Mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.