diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-11-20 18:04:06 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-11-20 18:04:06 +0300 |
commit | 4a27fce1d15e989dc6fef33d8e68d44bb2d67e75 (patch) | |
tree | 397fb066c2d1e61158991ba9bd6ee25724f860fa | |
parent | f41378dc7573b1adec3b0f72a6439a7fc6d073e9 (diff) |
FBX: Consistency with previous commit/fix, export armature objects as 'Root' FBX nodes.
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index c3183c1c..d6c296a9 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'): |