From 7121beb02ea45674045b668d0bdfade89781225c Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 19 Dec 2014 11:14:58 +0100 Subject: FBX fix: only considered an object as deformed by an armature if parent type is 'ARMATURE'! --- io_scene_fbx/fbx_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3