From 260ca332f88f643a302bcabf140e3c471c8c621b Mon Sep 17 00:00:00 2001 From: Julien Duroure Date: Sun, 4 Jul 2021 17:38:11 +0200 Subject: glTF importer: import custome properties from default scene --- io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py | 1 + 1 file changed, 1 insertion(+) (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_samplers.py') 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: -- cgit v1.2.3