Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release/scripts/ui/space_dopesheet.py2
-rw-r--r--release/scripts/ui/space_graph.py2
-rw-r--r--source/blender/editors/animation/anim_channels_edit.c14
3 files changed, 9 insertions, 9 deletions
diff --git a/release/scripts/ui/space_dopesheet.py b/release/scripts/ui/space_dopesheet.py
index c4b64275edc..c73e2aee8ee 100644
--- a/release/scripts/ui/space_dopesheet.py
+++ b/release/scripts/ui/space_dopesheet.py
@@ -203,7 +203,7 @@ class DOPESHEET_MT_channel(bpy.types.Menu):
layout.operator_menu_enum("anim.channels_move", "direction", text="Move...")
layout.separator()
- layout.operator("anim.channels_revive_fcurves")
+ layout.operator("anim.channels_fcurves_enable")
class DOPESHEET_MT_key(bpy.types.Menu):
diff --git a/release/scripts/ui/space_graph.py b/release/scripts/ui/space_graph.py
index f70f4ddb1a8..b3d08ef7c53 100644
--- a/release/scripts/ui/space_graph.py
+++ b/release/scripts/ui/space_graph.py
@@ -161,7 +161,7 @@ class GRAPH_MT_channel(bpy.types.Menu):
layout.operator_menu_enum("anim.channels_move", "direction", text="Move...")
layout.separator()
- layout.operator("anim.channels_revive_fcurves")
+ layout.operator("anim.channels_fcurves_enable")
class GRAPH_MT_key(bpy.types.Menu):
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c
index 58b1ebda55a..739940ccdad 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -1598,7 +1598,7 @@ void ANIM_OT_channels_collapse (wmOperatorType *ot)
/* ******************* Reenable Disabled Operator ******************* */
-static int animchannels_revive_poll (bContext *C)
+static int animchannels_enable_poll (bContext *C)
{
ScrArea *sa= CTX_wm_area(C);
@@ -1614,7 +1614,7 @@ static int animchannels_revive_poll (bContext *C)
return 1;
}
-static int animchannels_revive_exec (bContext *C, wmOperator *op)
+static int animchannels_enable_exec (bContext *C, wmOperator *UNUSED(op))
{
bAnimContext ac;
@@ -1645,16 +1645,16 @@ static int animchannels_revive_exec (bContext *C, wmOperator *op)
return OPERATOR_FINISHED;
}
-void ANIM_OT_channels_revive_fcurves (wmOperatorType *ot)
+void ANIM_OT_channels_fcurves_enable (wmOperatorType *ot)
{
/* identifiers */
ot->name= "Revive Disabled F-Curves";
- ot->idname= "ANIM_OT_channels_revive_fcurves";
+ ot->idname= "ANIM_OT_channels_fcurves_enable";
ot->description= "Clears 'disabled' tag from all F-Curves to get broken F-Curves working again";
/* api callbacks */
- ot->exec= animchannels_revive_exec;
- ot->poll= animchannels_revive_poll;
+ ot->exec= animchannels_enable_exec;
+ ot->poll= animchannels_enable_poll;
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
@@ -2180,7 +2180,7 @@ void ED_operatortypes_animchannels(void)
WM_operatortype_append(ANIM_OT_channels_visibility_toggle);
WM_operatortype_append(ANIM_OT_channels_visibility_set);
- WM_operatortype_append(ANIM_OT_channels_revive_fcurves);
+ WM_operatortype_append(ANIM_OT_channels_fcurves_enable);
}
// TODO: check on a poll callback for this, to get hotkeys into menus