From 4a27fce1d15e989dc6fef33d8e68d44bb2d67e75 Mon Sep 17 00:00:00 2001 From: Bastien Montagne <montagne29@wanadoo.fr> Date: Thu, 20 Nov 2014 16:04:06 +0100 Subject: [PATCH] FBX: Consistency with previous commit/fix, export armature objects as 'Root' FBX nodes. --- io_scene_fbx/export_fbx_bin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index c3183c1c9..d6c296a91 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -1515,6 +1515,8 @@ def fbx_data_object_elements(root, ob_obj, scene_data): obj_type = b"Null" # default, sort of empty... if ob_obj.is_bone: obj_type = b"LimbNode" + elif (ob_obj.type == 'ARMATURE'): + obj_type = b"Root" elif (ob_obj.type in BLENDER_OBJECT_TYPES_MESHLIKE): obj_type = b"Mesh" elif (ob_obj.type == 'LAMP'): -- GitLab