Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2021-05-10 17:26:15 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-05-10 17:26:50 +0300
commitc3de3c274958659e43b14c957e92ad044d00861a (patch)
tree166eb7de9890205e5a03295905a57557cad5f0ed /source/blender/makesrna
parent1ef5604e8c5640aceb3b3d6e33e10bb65bf68e5b (diff)
GPencil: Rename prop `dilate_pixels` to `dilate`
Better avoid units in name.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_brush.c2
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);