GPencil: Rename prop `dilate_pixels` to `dilate`
Better avoid units in name.
This commit is contained in:
parent
1ef5604e8c
commit
c3de3c2749
|
@ -1225,7 +1225,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
|
|||
row = layout.row(align=True)
|
||||
row.prop(gp_settings, "fill_factor")
|
||||
row = layout.row(align=True)
|
||||
row.prop(gp_settings, "dilate_pixels")
|
||||
row.prop(gp_settings, "dilate")
|
||||
row = layout.row(align=True)
|
||||
row.prop(brush, "size", text="Thickness")
|
||||
layout.use_property_split = use_property_split_prev
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue