diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2022-09-25 17:57:49 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2022-09-25 17:57:49 +0300 |
commit | 97bb515d3ac4062a8fb58544750a002433daffcc (patch) | |
tree | a2a6061fb3b7f235db1f5bfb38c667e520050b03 /io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py | |
parent | bccd6c669db6dbbf9901ea806780afaca62d5cb2 (diff) |
glTF exporter: better skin checks
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py index b68c1fdc..c95f9dec 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py @@ -155,7 +155,7 @@ def gather_animation_channels(obj_uuid: int, children_obj_parent_to_bones = [] for bone_uuid in bones_uuid: - children_obj_parent_to_bones.extend([child for child in export_settings['vtree'].nodes[bone_uuid].children if export_settings['vtree'].nodes[child].blender_type != VExportNode.BONE]) + children_obj_parent_to_bones.extend([child for child in export_settings['vtree'].nodes[bone_uuid].children if export_settings['vtree'].nodes[child].blender_type not in [VExportNode.BONE, VExportNode.ARMATURE]]) for child_uuid in children_obj_parent_to_bones: channels_baked = gather_channels_baked(child_uuid, export_settings) |