diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-02-11 17:55:33 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-02-11 17:59:53 +0300 |
commit | 4f8bc3e35ca2bdf3907f6506b113ebecdcd37957 (patch) | |
tree | c5359866760bacffcb3d3d1fe6cdbc9d4e83d988 /source/blender/makesrna/intern | |
parent | 18ac37a39b7d74e0fb76cf2b1a09c470c32a68bf (diff) |
GPencil: Move Autofit parameter from topbar to advanced panel
As this is used only in corner cases, it is better keep in advanced panel.
Also renamed to "Limit to Viewport"
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_brush.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index 6e2e986ebf8..3dcc9471906 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -1849,13 +1849,10 @@ static void rna_def_gpencil_options(BlenderRNA *brna) prop, "Show Fill", "Show transparent lines to use as boundary for filling"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - prop = RNA_def_property(srna, "use_fill_autofit", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", GP_BRUSH_FILL_FIT_DISABLE); + prop = RNA_def_property(srna, "use_fill_limit", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_BRUSH_FILL_FIT_DISABLE); RNA_def_property_boolean_default(prop, true); - RNA_def_property_ui_text( - prop, - "Automatic Fit", - "Fit the shape of the stroke to try to fill areas outside visible viewport"); + RNA_def_property_ui_text(prop, "Limit to Viewport", "Fill only visible areas in viewport"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); prop = RNA_def_property(srna, "use_default_eraser", PROP_BOOLEAN, PROP_NONE); |