Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Armature modifier applies last pose when "apply modifiers" is active #254

Closed
karroffel opened this issue Jun 30, 2018 · 3 comments
Closed

Comments

@karroffel
Copy link

As noted in #166 (comment), when exporting a model with an armature, the last pose before exporting will be applied.

This is pretty problematic, as it deforms all animations (unless the armature was in a rest pose anyway).

The FBX exporter addresses this problem by saving all armature states before the export, then setting all the armature states to REST, exporting the mesh with applied modifiers, then restoring the previous states.

This can be worked around by making sure that an action with the rest pose is on top in the NLA and the only strip contributing. But it can cause a lot of pain and confusion when setting up an initial workflow. It certainly took me a while to figure it out the first time!

(Actually I found this problem in another Blender exporter, a better COLLADA exporter for the Godot game engine, here the PR that fixed the problem: godotengine/collada-exporter#65. I noticed this exporter has the same problem, so the PR in the other project might be helpful as a reference, as well as the standard FBX exporter in Blender).

@donmccurdy
Copy link
Contributor

It looks like the FBX exporter just skips Armature modifiers, when "Apply Modifiers" is selected... do you know if that would be an acceptable fix here?

@donmccurdy
Copy link
Contributor

/cc #142.

@donmccurdy
Copy link
Contributor

Fixed in new repo (https://github.com/KhronosGroup/glTF-Blender-IO/), we no longer apply the Armature modifier when this option is enabled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants