diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-29 02:46:46 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-29 03:11:42 +0300 |
commit | 9cfa8b945a2f24e96005223c4801497191fab281 (patch) | |
tree | 2db7400449534b2c04bfb7c8ded83e0ee635c01c /source/blender/editors/sculpt_paint/sculpt_ops.c | |
parent | c087d09c16c6cc6e575e35a3637e24037617f8ed (diff) |
Cleanup: format
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_ops.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_ops.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_ops.c b/source/blender/editors/sculpt_paint/sculpt_ops.c index d5edd5708ad..965351c76d6 100644 --- a/source/blender/editors/sculpt_paint/sculpt_ops.c +++ b/source/blender/editors/sculpt_paint/sculpt_ops.c @@ -1242,8 +1242,24 @@ static void SCULPT_OT_mask_from_cavity(wmOperatorType *ot) "Use Automask Settings", "Use default settings from Options panel in sculpt mode."); - RNA_def_float(ot->srna, "factor", 0.5f, 0.0f, 5.0f, "Cavity Factor", "The contrast of the cavity mask", 0.0f, 1.0f); - RNA_def_int(ot->srna, "blur_steps", 2, 0, 25, "Cavity Blur", "The number of times the cavity mask is blurred", 0, 25); + RNA_def_float(ot->srna, + "factor", + 0.5f, + 0.0f, + 5.0f, + "Cavity Factor", + "The contrast of the cavity mask", + 0.0f, + 1.0f); + RNA_def_int(ot->srna, + "blur_steps", + 2, + 0, + 25, + "Cavity Blur", + "The number of times the cavity mask is blurred", + 0, + 25); RNA_def_boolean(ot->srna, "use_curve", false, "Use Curve", ""); RNA_def_boolean(ot->srna, "invert", false, "Cavity (Inverted)", ""); |