forked from bartvdbraak/blender
DopeSheet/Action Editor: Fixed operator name that did not get correctly during the operator renaming fixes done by Campbell's script
This commit is contained in:
parent
7c4e510492
commit
3fa927a42e
@ -151,8 +151,7 @@ class DOPESHEET_MT_key(bpy.types.Menu):
|
||||
layout.operator_menu_enum("action.mirror", property="type", text="Mirror")
|
||||
|
||||
layout.separator()
|
||||
# Inconsistent naming? act/action
|
||||
layout.operator("act.keyframe_insert")
|
||||
layout.operator("action.keyframe_insert")
|
||||
|
||||
layout.separator()
|
||||
layout.operator("action.duplicate")
|
||||
|
@ -497,11 +497,11 @@ static int actkeys_insertkey_exec(bContext *C, wmOperator *op)
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
void ACT_OT_keyframe_insert (wmOperatorType *ot)
|
||||
void ACTION_OT_keyframe_insert (wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Insert Keyframes";
|
||||
ot->idname= "ACT_OT_keyframe_insert";
|
||||
ot->idname= "ACTION_OT_keyframe_insert";
|
||||
ot->description= "Insert keyframes for the specified channels.";
|
||||
|
||||
/* api callbacks */
|
||||
|
@ -83,7 +83,7 @@ void ACTION_OT_view_all(struct wmOperatorType *ot);
|
||||
void ACTION_OT_copy(struct wmOperatorType *ot);
|
||||
void ACTION_OT_paste(struct wmOperatorType *ot);
|
||||
|
||||
void ACT_OT_keyframe_insert(struct wmOperatorType *ot);
|
||||
void ACTION_OT_keyframe_insert(struct wmOperatorType *ot);
|
||||
void ACTION_OT_duplicate(struct wmOperatorType *ot);
|
||||
void ACTION_OT_delete(struct wmOperatorType *ot);
|
||||
void ACTION_OT_clean(struct wmOperatorType *ot);
|
||||
|
@ -80,7 +80,7 @@ void action_operatortypes(void)
|
||||
WM_operatortype_append(ACTION_OT_clean);
|
||||
WM_operatortype_append(ACTION_OT_delete);
|
||||
WM_operatortype_append(ACTION_OT_duplicate);
|
||||
WM_operatortype_append(ACT_OT_keyframe_insert);
|
||||
WM_operatortype_append(ACTION_OT_keyframe_insert);
|
||||
WM_operatortype_append(ACTION_OT_copy);
|
||||
WM_operatortype_append(ACTION_OT_paste);
|
||||
WM_operatortype_append(ACTION_OT_new);
|
||||
@ -145,7 +145,7 @@ static void action_keymap_keyframes (wmKeyConfig *keyconf, wmKeyMap *keymap)
|
||||
WM_keymap_add_item(keymap, "ACTION_OT_delete", DELKEY, KM_PRESS, 0, 0);
|
||||
|
||||
WM_keymap_add_item(keymap, "ACTION_OT_duplicate", DKEY, KM_PRESS, KM_SHIFT, 0);
|
||||
WM_keymap_add_item(keymap, "ACT_OT_keyframe_insert", IKEY, KM_PRESS, 0, 0);
|
||||
WM_keymap_add_item(keymap, "ACTION_OT_keyframe_insert", IKEY, KM_PRESS, 0, 0);
|
||||
|
||||
/* copy/paste */
|
||||
WM_keymap_add_item(keymap, "ACTION_OT_copy", CKEY, KM_PRESS, KM_CTRL, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user