[Bf-extensions-cvs] [615f1b8] master: FBX export: do not apply Armature modifiers when we export armature objects, rather than use animation or not!
Bastien Montagne
noreply at git.blender.org
Tue May 6 11:00:40 CEST 2014
Commit: 615f1b81000e23951e404f02cebf9a4bc49cf5e3
Author: Bastien Montagne
Date: Tue May 6 10:59:09 2014 +0200
https://developer.blender.org/rBA615f1b81000e23951e404f02cebf9a4bc49cf5e3
FBX export: do not apply Armature modifiers when we export armature objects, rather than use animation or not!
===================================================================
M io_scene_fbx/export_fbx_bin.py
===================================================================
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index 75c2518..35efa06 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -2364,8 +2364,8 @@ def fbx_data_from_scene(scene, settings):
# No need to create a new mesh in this case, if no modifier is active!
use_org_data = True
for mod in obj.modifiers:
- # For meshes, when anim export is enabled, disable Armature modifiers here!
- if mod.type == 'ARMATURE' and settings.bake_anim:
+ # For meshes, when armature export is enabled, disable Armature modifiers here!
+ if mod.type == 'ARMATURE' and 'ARMATURE' in settings.object_types:
tmp_mods.append((mod, mod.show_render))
mod.show_render = False
if mod.show_render:
More information about the Bf-extensions-cvs
mailing list