diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-19 13:14:58 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-19 13:46:48 +0300 |
commit | 7121beb02ea45674045b668d0bdfade89781225c (patch) | |
tree | 254cb859def4ca247d0ba648f04d5c29202817e5 /io_scene_fbx/fbx_utils.py | |
parent | 6454d95e19d4d99c680448f3bf124a8f7fb0842e (diff) |
FBX fix: only considered an object as deformed by an armature if parent type is 'ARMATURE'!
Diffstat (limited to 'io_scene_fbx/fbx_utils.py')
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 2 |
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: |