Fix T42482: FBX import issue when scale is not 1.0.

Looks like FBX's 'Root' bone is same as our armature object?
This commit is contained in:
Bastien Montagne 2014-11-20 16:02:52 +01:00
parent 2918937972
commit f41378dc75
Notes: blender-bot 2023-02-14 20:02:02 +01:00
Referenced by issue #42482, FBX import issue when scale is not 1.0
1 changed files with 1 additions and 1 deletions

View File

@ -2162,7 +2162,7 @@ def load(operator, context, filepath="",
assert(fbx_props[0] is not None)
transform_data = blen_read_object_transform_preprocess(fbx_props, fbx_obj, Matrix(), use_prepost_rot)
is_bone = fbx_obj.props[2] in {b'LimbNode', b'Root'}
is_bone = fbx_obj.props[2] in {b'LimbNode'} # Note: 'Root' "bones" are handled as (armature) objects.
fbx_helper_nodes[a_uuid] = FbxImportHelperNode(fbx_obj, bl_data, transform_data, is_bone)
# add parent-child relations and add blender data to the node