[Bf-extensions-cvs] [f41378d] master: Fix T42482: FBX import issue when scale is not 1.0.

Bastien Montagne noreply at git.blender.org
Thu Nov 20 16:04:56 CET 2014


Commit: f41378dc7573b1adec3b0f72a6439a7fc6d073e9
Author: Bastien Montagne
Date:   Thu Nov 20 16:02:52 2014 +0100
Branches: master
https://developer.blender.org/rBAf41378dc7573b1adec3b0f72a6439a7fc6d073e9

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

Looks like FBX's 'Root' bone is same as our armature object?

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

M	io_scene_fbx/import_fbx.py

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

diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 03be451..fdf6b9b 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -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



More information about the Bf-extensions-cvs mailing list