diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-30 08:01:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-30 08:09:00 +0300 |
commit | c0a563ffe814f227411f6b6ce6276a780245ccea (patch) | |
tree | 5d884f48da3e9d26ea3cdf0bbb405ce9a0367b6e /source/blender/makesrna/intern/rna_brush.c | |
parent | e9a663865473db06941063b8ce75d6ff4b3d0884 (diff) |
Cleanup: use 'use_' prefix for RNA booleans
Some of the naming was quite misleading.
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_brush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index 9a43766d667..7586bdf2d3f 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -1736,7 +1736,7 @@ static void rna_def_gpencil_options(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Mode", "Preselected mode when using this brush"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - prop = RNA_def_property(srna, "trim", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_trim", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_BRUSH_TRIM_STROKE); RNA_def_property_boolean_default(prop, false); RNA_def_property_ui_text(prop, "Trim Stroke Ends", "Trim intersecting stroke ends"); |