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 /release/scripts/startup | |
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 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 30e50bde969..54c6de30ef8 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -1223,8 +1223,6 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False) row.prop(gp_settings, "fill_leak", text="Leak Size") row = layout.row(align=True) row.prop(brush, "size", text="Thickness") - row = layout.row(align=True) - row.prop(gp_settings, "use_fill_autofit", text="", icon="SNAP_FACE_CENTER") else: # brush.gpencil_tool == 'DRAW/TINT': row = layout.row(align=True) diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 20ec26200f6..f93a6f3346b 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1463,6 +1463,10 @@ class VIEW3D_PT_tools_grease_pencil_brush_advanced(View3DPanel, Panel): sub.active = gp_settings.show_fill sub.prop(gp_settings, "fill_threshold", text="") + col.separator() + row = col.row(align=True) + row.prop(gp_settings, "use_fill_limit") + class VIEW3D_PT_tools_grease_pencil_brush_stroke(Panel, View3DPanel): bl_context = ".greasepencil_paint" |