Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-10-01 10:56:09 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-10-01 10:56:09 +0400
commit34998c87c0baf8c502c34ff5526d72c57f8821a9 (patch)
tree65585f32a1a7e0f0dc57ed308d17075355a36b4a /io_scene_fbx/export_fbx_bin.py
parent77618baacd0df1414943a082ca3deea2892e3750 (diff)
Fix T42029: FBX export: armatures linked to mesh only through modifier were not exported correctly.
Now also check modifiers stack.
Diffstat (limited to 'io_scene_fbx/export_fbx_bin.py')
-rw-r--r--io_scene_fbx/export_fbx_bin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index 60254414..01713255 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -1676,7 +1676,7 @@ def fbx_skeleton_from_armature(scene, settings, arm_obj, objects, data_meshes,
data_bones.update((bo, get_blender_bone_key(arm_obj.bdata, bo.bdata)) for bo in bones)
for ob_obj in objects:
- if not (ob_obj.is_object and ob_obj.type == 'MESH' and ob_obj.parent == arm_obj):
+ if not ob_obj.is_deformed_by_armature(arm_obj):
continue
# Always handled by an Armature modifier...