* Added menu entry for "Set Weight" Tool. Request by venomgfx :)
layout.operator("object.vertex_group_invert", text="Invert")
layout.operator("object.vertex_group_clean", text="Clean")
layout.operator("object.vertex_group_levels", text="Levels")
+
+ layout.separator()
+
+ layout.operator("paint.weight_set")
# ********** Sculpt menu **********
void PAINT_OT_weight_set(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Weight Set";
+ ot->name= "Set Weight";
ot->idname= "PAINT_OT_weight_set";
/* api callbacks */