Blender Kitsu: Fix Don't replace existing actions during Check Action Names #75

Merged
Nick Alberelli merged 3 commits from fix/check-action-names-extra-actions into main 2023-06-07 17:08:04 +02:00
Showing only changes of commit 7df533fa7a - Show all commits

View File

@ -108,7 +108,7 @@ class KITSU_OT_anim_check_action_names(bpy.types.Operator):
"if they follow the Blender Studio naming convention"
)
wrong: List[Tuple[bpy.types.Action, str]] = []
created: List[Tuple[bpy.types.Action, str]] = []
created: List[bpy.types.Action] = []
cleanup_empty_actions: bpy.props.BoolProperty(name="Delete Empty Action Data-Blocks", default=False, description="Remove any empty action data-blocks, actions that have 0 Fcurves/Keyframes")
# List of tuples that contains the action on index 0 with the wrong name
@ -201,6 +201,7 @@ class KITSU_OT_anim_check_action_names(bpy.types.Operator):
def invoke(self, context, event):
shot_active = cache.shot_active_get()
self.wrong.clear()
self.created.clear()
no_action = []
correct = []