[Bf-extensions-cvs] [46b1ada7] master: glTF exporter: fix typo in last commit, weird tab increment

Julien Duroure noreply at git.blender.org
Thu Sep 5 07:38:26 CEST 2019


Commit: 46b1ada7f5f2d396f712e9a1376922ca89475486
Author: Julien Duroure
Date:   Thu Sep 5 07:38:01 2019 +0200
Branches: master
https://developer.blender.org/rBA46b1ada7f5f2d396f712e9a1376922ca89475486

glTF exporter: fix typo in last commit, weird tab increment

===================================================================

M	io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py

===================================================================

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))



More information about the Bf-extensions-cvs mailing list