Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2019-03-19 23:07:59 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-03-19 23:26:09 +0300
commit540f50a4da69c472ee343e99df83cf03cd7dd21c (patch)
tree896ca223d1900eb0bbc63371343c2e6f8ceb96da /source/blender/editors/armature
parent7cf1b81b3c6493c07ed9a247c9ebe7cb88e27d27 (diff)
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.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/armature_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c
index f3a4fef2789..e3db0ca8f2c 100644
--- a/source/blender/editors/armature/armature_edit.c
+++ b/source/blender/editors/armature/armature_edit.c
@@ -1649,7 +1649,7 @@ static int armature_hide_exec(bContext *C, wmOperator *op)
void ARMATURE_OT_hide(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Hide Selected Bones";
+ ot->name = "Hide Selected";
ot->idname = "ARMATURE_OT_hide";
ot->description = "Tag selected bones to not be visible in Edit Mode";
@@ -1701,7 +1701,7 @@ static int armature_reveal_exec(bContext *C, wmOperator *op)
void ARMATURE_OT_reveal(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Reveal Bones";
+ ot->name = "Reveal Hidden";
ot->idname = "ARMATURE_OT_reveal";
ot->description = "Reveal all bones hidden in Edit Mode";