Anim: Change text for keyframe with keyingset operator #117508

Closed
Christoph Lendenfeld wants to merge 6 commits from ChrisLend/blender:rename_to_apply_keyingset into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 4 additions and 5 deletions

View File

@ -2772,9 +2772,9 @@ class VIEW3D_MT_object_animation(Menu):
layout = self.layout
layout.operator("anim.keyframe_insert", text="Insert Keyframe")
layout.operator("anim.keyframe_insert_menu", text="Insert Keyframe with Keying Set").always_prompt = True
layout.operator("anim.keyframe_delete_v3d", text="Delete Keyframes...")
layout.operator("anim.keyframe_clear_v3d", text="Clear Keyframes...")
layout.operator("anim.keyframe_insert_menu", text="Apply Keying Set").always_prompt = True
layout.operator("anim.keying_set_active_set", text="Change Keying Set...")
layout.separator()
@ -3037,7 +3037,7 @@ class VIEW3D_MT_object_context_menu(Menu):
layout.separator()
layout.operator("anim.keyframe_insert", text="Insert Keyframe")
layout.operator("anim.keyframe_insert_menu", text="Insert Keyframe with Keying Set").always_prompt = True
layout.operator("anim.keyframe_insert_menu", text="Apply Keying Set").always_prompt = True
layout.separator()
@ -4155,7 +4155,7 @@ class VIEW3D_MT_pose_context_menu(Menu):
layout.operator_context = 'INVOKE_REGION_WIN'
layout.operator("anim.keyframe_insert", text="Insert Keyframe")
layout.operator("anim.keyframe_insert_menu", text="Insert Keyframe with Keying Set").always_prompt = True
layout.operator("anim.keyframe_insert_menu", text="Apply Keying Set").always_prompt = True
layout.separator()

View File

@ -503,8 +503,7 @@ void ANIM_OT_keyframe_insert_menu(wmOperatorType *ot)
/* identifiers */
ot->name = "Insert Keyframe Menu";
ot->idname = "ANIM_OT_keyframe_insert_menu";
ot->description =
"Insert Keyframes for specified Keying Set, with menu of available Keying Sets if undefined";
ot->description = "Insert Keyframes by applying the specified Keying Set";

(pedantic)
Seems like we're a little across the board with capitalizing "Keying Set". Should "Keyframes" also be capital here?

(pedantic) Seems like we're a little across the board with capitalizing "Keying Set". Should "Keyframes" also be capital here?

thanks for catching that right away. Definitely not pedantic

thanks for catching that right away. Definitely not pedantic
/* callbacks */
ot->invoke = insert_key_menu_invoke;