Sculpt: Use a factor for mask extract factor property

Makes it easier to adjust the property visually.
This commit is contained in:
Hans Goudey
2023-07-01 20:58:26 -04:00
parent c3eccf432c
commit 95df909bcc

View File

@@ -347,7 +347,7 @@ void MESH_OT_paint_mask_extract(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
RNA_def_float(
RNA_def_float_factor(
ot->srna,
"mask_threshold",
0.5f,