diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2021-07-04 18:38:11 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2021-07-04 18:38:11 +0300 |
commit | 260ca332f88f643a302bcabf140e3c471c8c621b (patch) | |
tree | 4485f89dfb9f6d9ae686bc6e89a6f4357b9ae982 /io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py | |
parent | c72e66249180b103165679834129574d5868fa68 (diff) |
glTF importer: import custome properties from default scene
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py index 362e5b69..57df6306 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py @@ -331,6 +331,7 @@ def __gather_output(channels: typing.Tuple[bpy.types.FCurve], object_path = get_target_object_path(target_datapath) else: object_path = None + is_armature_animation = bake_bone is not None or (blender_object_if_armature is not None and object_path != "") if is_armature_animation: |