diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-21 00:31:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-21 01:11:50 +0300 |
commit | 08c7733c1393d200513983d9b895ef8e92110591 (patch) | |
tree | 72dc2b3621fd2ab41f5879d02d0bdae78533c7f9 /release/scripts/startup/bl_ui/properties_material_gpencil.py | |
parent | fb88088203ec478f4c06bd4b755d47492246759d (diff) |
Cleanup: style
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material_gpencil.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material_gpencil.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py index 32da822629e..1294d0f8d85 100644 --- a/release/scripts/startup/bl_ui/properties_material_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py @@ -231,19 +231,19 @@ class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, Panel): if gpcolor.fill_style != 'TEXTURE': col.prop(gpcolor, "fill_color", text="Color") - if gpcolor.fill_style in ('GRADIENT', 'CHESSBOARD'): + if gpcolor.fill_style in {'GRADIENT', 'CHESSBOARD'}: col.prop(gpcolor, "mix_color", text="Secondary Color") if gpcolor.fill_style == 'GRADIENT': col.prop(gpcolor, "mix_factor", text="Mix Factor", slider=True) - if gpcolor.fill_style in ('GRADIENT', 'CHESSBOARD'): + if gpcolor.fill_style in {'GRADIENT', 'CHESSBOARD'}: col.prop(gpcolor, "flip", text="Flip Colors") col.prop(gpcolor, "pattern_shift", text="Location") col.prop(gpcolor, "pattern_scale", text="Scale") - if gpcolor.gradient_type == 'RADIAL' and gpcolor.fill_style not in ('SOLID', 'CHESSBOARD'): + if gpcolor.gradient_type == 'RADIAL' and gpcolor.fill_style not in {'SOLID', 'CHESSBOARD'}: col.prop(gpcolor, "pattern_radius", text="Radius") else: if gpcolor.fill_style != 'SOLID': |