Fix T38955: Misleading tooltip for Clean Tool in Weight Tools Toolshelf.

This commit is contained in:
Bastien Montagne 2014-03-06 14:30:44 +01:00
parent cfefc5d0d4
commit a28dce6cc8
Notes: blender-bot 2023-02-14 11:05:00 +01:00
Referenced by issue #38955, Misleading tooltip for Clean Tool in Weight Tools Toolshelf - AFTER 2.70
1 changed files with 2 additions and 1 deletions

View File

@ -3818,7 +3818,8 @@ void OBJECT_OT_vertex_group_clean(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
vgroup_operator_subset_select_props(ot, true);
RNA_def_float(ot->srna, "limit", 0.0f, 0.0f, 1.0, "Limit", "Remove weights under this limit", 0.0f, 0.99f);
RNA_def_float(ot->srna, "limit", 0.0f, 0.0f, 1.0, "Limit",
"Remove vertices which weight is below or equal to this limit", 0.0f, 0.99f);
RNA_def_boolean(ot->srna, "keep_single", false, "Keep Single",
"Keep verts assigned to at least one group when cleaning");
}