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-12-19 13:14:58 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2014-12-19 13:46:48 +0300
commit7121beb02ea45674045b668d0bdfade89781225c (patch)
tree254cb859def4ca247d0ba648f04d5c29202817e5
parent6454d95e19d4d99c680448f3bf124a8f7fb0842e (diff)
FBX fix: only considered an object as deformed by an armature if parent type is 'ARMATURE'!
-rw-r--r--io_scene_fbx/fbx_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py
index be365791..08a33287 100644
--- a/io_scene_fbx/fbx_utils.py
+++ b/io_scene_fbx/fbx_utils.py
@@ -1078,7 +1078,7 @@ class ObjectWrapper(metaclass=MetaObjectWrapper):
def is_deformed_by_armature(self, arm_obj):
if not (self.is_object and self.type == 'MESH'):
return False
- if self.parent == arm_obj:
+ if self.parent == arm_obj and self.bdata.parent_type == 'ARMATURE':
return True
for mod in self.bdata.modifiers:
if mod.type == 'ARMATURE' and mod.object == arm_obj.bdata: