[Bf-blender-cvs] [1ec1e36ac1d] master: Cleanup: Animation, rename function to match operator
Sybren A. Stüvel
noreply at git.blender.org
Thu Oct 15 14:39:32 CEST 2020
Commit: 1ec1e36ac1d87c0404509204a332da797e8fc831
Author: Sybren A. Stüvel
Date: Tue Oct 13 12:45:08 2020 +0200
Branches: master
https://developer.blender.org/rB1ec1e36ac1d87c0404509204a332da797e8fc831
Cleanup: Animation, rename function to match operator
Rename `animchannels_deselectall_exec` → `animchannels_selectall_exec` so
that it matches the operator `ANIM_OT_channels_select_all`.
No functional changes.
===================================================================
M source/blender/editors/animation/anim_channels_edit.c
===================================================================
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c
index 92b37628263..8a13872ca61 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -2526,7 +2526,7 @@ static void ANIM_OT_channels_find(wmOperatorType *ot)
/* ********************** Select All Operator *********************** */
-static int animchannels_deselectall_exec(bContext *C, wmOperator *op)
+static int animchannels_selectall_exec(bContext *C, wmOperator *op)
{
bAnimContext ac;
@@ -2569,7 +2569,7 @@ static void ANIM_OT_channels_select_all(wmOperatorType *ot)
ot->description = "Toggle selection of all animation channels";
/* api callbacks */
- ot->exec = animchannels_deselectall_exec;
+ ot->exec = animchannels_selectall_exec;
ot->poll = animedit_poll_channels_nla_tweakmode_off;
/* flags */
More information about the Bf-blender-cvs
mailing list