FBX: Fix ShapeKeys not being exported anymore for rigged meshes.

Not sure when that mistake was introduced, Armature modifier is not
considered a 'real' modifier to be baked, from FBX exporter point of
view...

Reported/followup from T64994.
This commit is contained in:
Bastien Montagne 2019-05-29 11:41:49 +02:00
parent 8cbad90201
commit 815c1eab95
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
bl_info = {
"name": "FBX format",
"author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
"version": (4, 14, 12),
"version": (4, 14, 13),
"blender": (2, 80, 0),
"location": "File > Import-Export",
"description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",

View File

@ -2220,7 +2220,7 @@ def fbx_data_from_scene(scene, depsgraph, settings):
armature = object.data
backup_pose_positions.append((armature, armature.pose_position))
armature.pose_position = 'REST'
if mod.show_render or mod.show_viewport:
elif mod.show_render or mod.show_viewport:
use_org_data = False
if not use_org_data:
# If modifiers has been altered need to update dependency graph.