[Bf-blender-cvs] [b6b20c4d926] master: GPencil: Change Fill extend lines icon

Antonio Vazquez noreply at git.blender.org
Fri Jun 4 12:44:48 CEST 2021


Commit: b6b20c4d926ef6dbde7f557066490e6a97909b86
Author: Antonio Vazquez
Date:   Thu Jun 3 20:06:41 2021 +0200
Branches: master
https://developer.blender.org/rBb6b20c4d926ef6dbde7f557066490e6a97909b86

GPencil: Change Fill extend lines icon

The icon has been changed to `eye` because is more consistent with other areas.

===================================================================

M	release/scripts/startup/bl_ui/space_view3d_toolbar.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 08d581bfa24..67f24d8185d 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1465,7 +1465,12 @@ class VIEW3D_PT_tools_grease_pencil_brush_advanced(View3DPanel, Panel):
                 col.separator()
                 row = col.row(align=True)
                 row.prop(gp_settings, "extend_stroke_factor")
-                row.prop(gp_settings, "show_fill_extend", text="", icon='GRID')
+                if gp_settings.show_fill_extend:
+                    icon = 'HIDE_OFF'
+                else:
+                    icon = 'HIDE_ON'
+
+                row.prop(gp_settings, "show_fill_extend", text="", icon=icon)
 
                 col.separator()
                 col.prop(gp_settings, "fill_leak", text="Leak Size")



More information about the Bf-blender-cvs mailing list