[Bf-blender-cvs] [2debee96ec5] blender2.8: GP: Replace Clamp icon

Antonioya noreply at git.blender.org
Mon Dec 10 20:29:54 CET 2018


Commit: 2debee96ec51b4a6e4f06bc6a5cb3846244725ae
Author: Antonioya
Date:   Mon Dec 10 16:21:12 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB2debee96ec51b4a6e4f06bc6a5cb3846244725ae

GP: Replace Clamp icon

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

M	release/scripts/startup/bl_ui/properties_data_gpencil.py
M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py
M	release/scripts/startup/bl_ui/space_topbar.py

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

diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index 558c3c190b6..5a64389e5c6 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -143,7 +143,7 @@ class DATA_PT_gpencil_datapanel(Panel):
             srow = col.row(align=True)
             srow.prop(gpl, "opacity", text="Opacity", slider=True)
             srow.prop(gpl, "clamp_layer", text="",
-                     icon='MOD_MASK' if gpl.clamp_layer else 'ONIONSKIN_OFF')
+                     icon='MOD_MASK' if gpl.clamp_layer else 'LAYER_ACTIVE')
 
         col = row.column()
 
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 5a0c2bd1e43..1bedc2c4f97 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -982,7 +982,7 @@ class GPENCIL_UL_layer(UIList):
 
             row = layout.row(align=True)
             row.prop(gpl, "clamp_layer", text="",
-                        icon='MOD_MASK' if gpl.clamp_layer else 'ONIONSKIN_OFF',
+                        icon='MOD_MASK' if gpl.clamp_layer else 'LAYER_ACTIVE',
                         emboss=False)
 
             row.prop(gpl, "lock", text="", emboss=False)
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index a74683d2849..1192dbf74cd 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -528,7 +528,7 @@ class TOPBAR_PT_gpencil_layers(Panel):
             srow = col.row(align=True)
             srow.prop(gpl, "opacity", text="Opacity", slider=True)
             srow.prop(gpl, "clamp_layer", text="",
-                     icon='MOD_MASK' if gpl.clamp_layer else 'ONIONSKIN_OFF')
+                     icon='MOD_MASK' if gpl.clamp_layer else 'LAYER_ACTIVE')
 
         col = row.column()



More information about the Bf-blender-cvs mailing list