[Bf-extensions-cvs] [0caaf18] fbx_io_development: - modified comment: id_data it is the correct way to get the armature

Jens Ch. Restemeier noreply at git.blender.org
Thu Jul 31 08:35:56 CEST 2014


Commit: 0caaf186ab2fb1576e343e6adc4a59dabfb6ed17
Author: Jens Ch. Restemeier
Date:   Thu Jul 31 07:35:39 2014 +0100
Branches: fbx_io_development
https://developer.blender.org/rBA0caaf186ab2fb1576e343e6adc4a59dabfb6ed17

- modified comment: id_data it is the correct way to get the armature

===================================================================

M	io_scene_fbx/import_fbx.py

===================================================================

diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 3c3c41b..51f9a0a 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -1928,7 +1928,7 @@ def load(operator, context, filepath="",
                  fbx_lnk_type) in connection_filter_forward(fbx_uuid, b'Model'):
 
                 if isinstance(fbx_lnk_item, PoseBone):
-                    blen_data.parent = fbx_lnk_item.id_data # Not sure if this is the correct way to get the armature owning a PoseBone..
+                    blen_data.parent = fbx_lnk_item.id_data # get the armature the bone belongs to
                     blen_data.parent_bone = fbx_lnk_item.name
                     blen_data.parent_type = 'BONE'
                 else:



More information about the Bf-extensions-cvs mailing list