Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2021-06-03 21:06:41 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-06-04 13:44:34 +0300
commitb6b20c4d926ef6dbde7f557066490e6a97909b86 (patch)
tree5cdec9b132377f359ffb4defe834459c2c8570b5 /release
parentd486ee2dbdd34e00a4d575fab6feb3e36b486275 (diff)
GPencil: Change Fill extend lines icon
The icon has been changed to `eye` because is more consistent with other areas.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py7
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")