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"
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user