diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-04-12 21:18:05 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-04-12 21:52:29 +0300 |
commit | 1c357a3c5fc14bf7094c14355e3bc5a5f66ec584 (patch) | |
tree | 60c6df22d07dfec5a60ba29f322293912ba65647 | |
parent | 2b9e6943cdf5a892b874ce03ec0dea9d7b5399ff (diff) |
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
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 8 | ||||
-rw-r--r-- | source/blender/editors/armature/armature_select.c | 2 | ||||
-rw-r--r-- | source/blender/editors/armature/pose_select.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index ab20bce1756..7c81c57cf2c 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -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() 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"; |