Unify "Hide Selected / Reveal Hidden" operator names

All edit mode related operators are now "Hide Selected / Reveal Hidden".
Before we had different variatons of them:

Hide Selection:
* MESH_OT_hide
* GPENCIL_OT_selection_opacity_toggle

Hide Selected Bones:
* ARMATURE_OT_hide

Hide:
* MBALL_OT_hide_metaelems

Hide Selected:
* CURVE_OT_hide
* PARTICLE_OT_hide
* POSE_OT_hide
* UV_OT_hide

Reveal Bones:
* ARMATURE_OT_reveal

Reveal:
* MBALL_OT_reveal_metaelems

Operators not renamed:
* Hide Curves (GRAPH_OT_hide)
* Hide (OUTLINER_OT_hide)

Note we can do a step further and mass rename them to match their UI
names. Where Reveal Hidden is Show Hidden. But for now at least they are
all unified.
This commit is contained in:
Dalai Felinto
2019-03-19 17:07:59 -03:00
parent 7cf1b81b3c
commit 540f50a4da
4 changed files with 6 additions and 6 deletions

View File

@@ -2021,7 +2021,7 @@ static int edbm_hide_exec(bContext *C, wmOperator *op)
void MESH_OT_hide(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Hide Selection";
ot->name = "Hide Selected";
ot->idname = "MESH_OT_hide";
ot->description = "Hide (un)selected vertices, edges or faces";