diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-06-04 18:42:39 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-06-04 18:42:39 +0300 |
commit | 636751bb36097e57c191652575ed6394b6dae105 (patch) | |
tree | 426d4b82c9175e005f609dd8a87571eab2b13ffe /source/blender/makesrna/intern/rna_sculpt_paint.c | |
parent | 8b1ca3ec537cc13d87e15dc80dc04d53ee2d95ca (diff) |
GPencil: Clarify Target weight tooltip and remove lower limit
The target value was affecting the lower value and this was weird. Now the value is clamped between 0 and target weight.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 3f72644448b..221d4375970 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -1548,7 +1548,10 @@ static void rna_def_gpencil_sculpt(BlenderRNA *brna) prop = RNA_def_property(srna, "weight", PROP_FLOAT, PROP_FACTOR); RNA_def_property_range(prop, 0.0, 1.0); - RNA_def_property_ui_text(prop, "Weight", "Target weight"); + RNA_def_property_ui_text(prop, + "Weight", + "Target weight (define a maximum range limit for the weight. Any value " + "above will be clamped)"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); |