UI: Use Consistent name for select mirror

This commit cleans up the RNA names of select mirror operators so that 
they are all "Select mirror".

This makes the select menu in edit/pose mode consistent regardless of 
object type.

Differential Revision: https://developer.blender.org/D7356
This commit is contained in:
Aaron Carlisle 2021-04-12 14:18:05 -04:00
parent 2b9e6943cd
commit 1c357a3c5f
3 changed files with 6 additions and 6 deletions

View File

@ -1366,7 +1366,7 @@ class VIEW3D_MT_select_object(Menu):
layout.operator_menu_enum("object.select_by_type", "type", text="Select All by Type")
layout.operator("object.select_camera", text="Select Active Camera")
layout.operator("object.select_mirror", text="Mirror Selection")
layout.operator("object.select_mirror")
layout.operator("object.select_random", text="Select Random")
layout.separator()
@ -1424,7 +1424,7 @@ class VIEW3D_MT_select_pose(Menu):
layout.separator()
layout.operator("pose.select_mirror", text="Flip Active")
layout.operator("pose.select_mirror")
layout.separator()
@ -1597,7 +1597,7 @@ class VIEW3D_MT_select_edit_mesh(Menu):
layout.separator()
layout.operator("mesh.select_axis", text="Side of Active")
layout.operator("mesh.select_mirror", text="Mirror Selection")
layout.operator("mesh.select_mirror")
class VIEW3D_MT_select_edit_curve(Menu):
@ -1784,7 +1784,7 @@ class VIEW3D_MT_select_edit_armature(Menu):
layout.separator()
layout.operator("armature.select_mirror", text="Mirror").extend = False
layout.operator("armature.select_mirror")
layout.separator()

View File

@ -2141,7 +2141,7 @@ static int armature_select_mirror_exec(bContext *C, wmOperator *op)
void ARMATURE_OT_select_mirror(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Flip Active/Selected Bone";
ot->name = "Select Mirror";
ot->idname = "ARMATURE_OT_select_mirror";
ot->description = "Mirror the bone selection";

View File

@ -1284,7 +1284,7 @@ static int pose_select_mirror_exec(bContext *C, wmOperator *op)
void POSE_OT_select_mirror(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Flip Active/Selected Bone";
ot->name = "Select Mirror";
ot->idname = "POSE_OT_select_mirror";
ot->description = "Mirror the bone selection";