diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-06-03 21:06:41 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-06-04 13:44:34 +0300 |
commit | b6b20c4d926ef6dbde7f557066490e6a97909b86 (patch) | |
tree | 5cdec9b132377f359ffb4defe834459c2c8570b5 | |
parent | d486ee2dbdd34e00a4d575fab6feb3e36b486275 (diff) |
GPencil: Change Fill extend lines icon
The icon has been changed to `eye` because is more consistent with other areas.
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 7 |
1 files changed, 6 insertions, 1 deletions
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") |