diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-05-10 17:26:15 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-05-10 17:26:50 +0300 |
commit | c3de3c274958659e43b14c957e92ad044d00861a (patch) | |
tree | 166eb7de9890205e5a03295905a57557cad5f0ed /source/blender/makesrna/intern/rna_brush.c | |
parent | 1ef5604e8c5640aceb3b3d6e33e10bb65bf68e5b (diff) |
GPencil: Rename prop `dilate_pixels` to `dilate`
Better avoid units in name.
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 044e6ca2da1..7e1d513502c 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -1618,7 +1618,7 @@ static void rna_def_gpencil_options(BlenderRNA *brna) RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0); /* Number of pixels to dilate fill area. */ - prop = RNA_def_property(srna, "dilate_pixels", PROP_INT, PROP_NONE); + prop = RNA_def_property(srna, "dilate", PROP_INT, PROP_PIXEL); RNA_def_property_int_sdna(prop, NULL, "dilate_pixels"); RNA_def_property_range(prop, 0, 20); RNA_def_property_int_default(prop, 1); |