Commit: 3ce49196f0fff5ad8ec14909b68cd43b1042e48f Author: Aaron Carlisle Date: Mon Apr 12 14:18:05 2021 -0400 Branches: temp-gpencil-bezier-stroke-type https://developer.blender.org/rB3ce49196f0fff5ad8ec14909b68cd43b1042e48f
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 =================================================================== M release/scripts/startup/bl_ui/space_view3d.py M source/blender/editors/armature/armature_select.c M source/blender/editors/armature/pose_select.c =================================================================== diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index c34c7968d89..d37e5fbd63a 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1353,7 +1353,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() @@ -1411,7 +1411,7 @@ class VIEW3D_MT_select_pose(Menu): layout.separator() - layout.operator("pose.select_mirror", text="Flip Active") + layout.operator("pose.select_mirror") layout.separator() @@ -1584,7 +1584,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): @@ -1771,7 +1771,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() diff --git a/source/blender/editors/armature/armature_select.c b/source/blender/editors/armature/armature_select.c index 9b598872d8b..65f30c3729f 100644 --- a/source/blender/editors/armature/armature_select.c +++ b/source/blender/editors/armature/armature_select.c @@ -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"; diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c index 0b0f1925746..8fc06a5f962 100644 --- a/source/blender/editors/armature/pose_select.c +++ b/source/blender/editors/armature/pose_select.c @@ -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"; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs