[Bf-blender-cvs] [ca04e884c8c] temp-gpencil-fill: GPencil: Swap Presision and Simplify in UI
Antonio Vazquez
noreply at git.blender.org
Mon Feb 1 11:35:05 CET 2021
Commit: ca04e884c8cfafb4a1e449241ff99cf622657743
Author: Antonio Vazquez
Date: Mon Feb 1 11:34:59 2021 +0100
Branches: temp-gpencil-fill
https://developer.blender.org/rBca04e884c8cfafb4a1e449241ff99cf622657743
GPencil: Swap Presision and Simplify in UI
This parameter is used a lot.
===================================================================
M release/scripts/startup/bl_ui/properties_paint_common.py
M release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index 5d241e8e216..54c6de30ef8 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -1218,11 +1218,11 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
row = layout.row(align=True)
row.prop(gp_settings, "fill_direction", text="", expand=True)
row = layout.row(align=True)
+ row.prop(gp_settings, "fill_factor")
+ row = layout.row(align=True)
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, "fill_simplify_level", text="Simplify")
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 0ba65ad0b08..b3388f4179a 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1447,7 +1447,7 @@ class VIEW3D_PT_tools_grease_pencil_brush_advanced(View3DPanel, Panel):
row.prop(gp_settings, "fill_layer_mode", text="Layers")
col.separator()
- col.prop(gp_settings, "fill_factor")
+ col.prop(gp_settings, "fill_simplify_level", text="Simplify")
if gp_settings.fill_draw_mode != 'STROKE':
col = layout.column(align=False, heading="Ignore Transparent")
col.use_property_decorate = False
More information about the Bf-blender-cvs
mailing list