From 46b1ada7f5f2d396f712e9a1376922ca89475486 Mon Sep 17 00:00:00 2001 From: Julien Duroure Date: Thu, 5 Sep 2019 07:38:01 +0200 Subject: glTF exporter: fix typo in last commit, weird tab increment --- io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_scene_gltf2/blender') 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 90bd3b75..b2d69ae9 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 @@ -200,7 +200,7 @@ def __get_channel_groups(blender_action: bpy.types.Action, blender_object: bpy.t shape_key = blender_object.data.shape_keys.path_resolve(object_path) if shape_key.mute is True: continue - target = blender_object.data.shape_keys + target = blender_object.data.shape_keys except: # Something is wrong, for example a bone animation is linked to an object mesh... gltf2_io_debug.print_console("WARNING", "Animation target {} not found".format(object_path)) -- cgit v1.2.3