Grumph, more fixes in this Select menu (Invert had default op name for metaball and particules...). Also fixed "(De)select All" name of particule op.

This commit is contained in:
Bastien Montagne 2012-03-18 20:04:41 +00:00
parent dd69e76d82
commit 2635d78ec1
2 changed files with 3 additions and 3 deletions

@ -491,7 +491,7 @@ class VIEW3D_MT_select_particle(Menu):
layout.operator("particle.select_all").action = 'TOGGLE'
layout.operator("particle.select_linked")
layout.operator("particle.select_all").action = 'INVERT'
layout.operator("particle.select_all", text="Inverse").action = 'INVERT'
layout.separator()
@ -621,7 +621,7 @@ class VIEW3D_MT_select_edit_metaball(Menu):
layout.separator()
layout.operator("mball.select_all").action = 'TOGGLE'
layout.operator("mball.select_all").action = 'INVERT'
layout.operator("mball.select_all", text="Inverse").action = 'INVERT'
layout.separator()

@ -1360,7 +1360,7 @@ static int pe_select_all_exec(bContext *C, wmOperator *op)
void PARTICLE_OT_select_all(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Selection of all particles";
ot->name= "(De)select All";
ot->idname= "PARTICLE_OT_select_all";
/* api callbacks */