diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_brush.c | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index 364805f0395..c11ab4dd23d 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -287,22 +287,8 @@ static EnumPropertyItem rna_enum_gpencil_fill_draw_modes_items[] = { {0, NULL, 0, NULL, NULL}}; static EnumPropertyItem rna_enum_gpencil_fill_extend_modes_items[] = { - {GP_FILL_EMODE_LINES, - "LINES", - 0, - "Line", - "Extend strokes in straight lines"}, - { - GP_FILL_EMODE_CIRCLES, - "CIRCLES", - 0, - "Circle", - "Connect endpoints that are close together"}, - {GP_FILL_EMODE_LINES_AND_CIRCLES, - "LINES_AND_CIRCLES", - 0, - "Line & Circle", - "Extend strokes and connect close endpoints"}, + {GP_FILL_EMODE_RADIUS, "RADIUS", 0, "Radius", "Connect endpoints that are close together"}, + {GP_FILL_EMODE_EXTEND, "EXTEND", 0, "Extend", "Extend strokes in straight lines"}, {0, NULL, 0, NULL, NULL}}; static EnumPropertyItem rna_enum_gpencil_fill_layers_modes_items[] = { @@ -1671,9 +1657,7 @@ static void rna_def_gpencil_options(BlenderRNA *brna) RNA_def_property_enum_sdna(prop, NULL, "fill_extend_mode"); RNA_def_property_enum_items(prop, rna_enum_gpencil_fill_extend_modes_items); RNA_def_property_ui_text( - prop, - "Gap Closure", - "Types of stroke extensions used for closing gaps"); + prop, "Gap Closure", "Types of stroke extensions used for closing gaps"); RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0); /* Number of pixels to dilate fill area. Negative values contract the filled area. */ |