diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-21 17:27:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-21 17:59:43 +0300 |
commit | 4ebb64697a715fde3232862d8f341a9ce67ba028 (patch) | |
tree | eb62ecbe9f3719cc5d66cdb65fa8b438a19eae44 /release/scripts/startup/bl_ui/properties_material_gpencil.py | |
parent | dfb2db10a0e9e904c0f27ffc578a6dcdfdd67092 (diff) |
Cleanup: pep8
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material_gpencil.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material_gpencil.py | 8 |
1 files changed, 5 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 acf44cdc260..b6668258c78 100644 --- a/release/scripts/startup/bl_ui/properties_material_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py @@ -151,9 +151,11 @@ class MATERIAL_PT_gpencil_strokecolor(GPMaterialButtonsPanel, Panel): if gpcolor.use_stroke_texture_mix is True: col.prop(gpcolor, "mix_stroke_factor", text="Factor") - if gpcolor.stroke_style == 'SOLID' or \ - gpcolor.use_stroke_pattern is True or \ - gpcolor.use_stroke_texture_mix is True: + if ( + gpcolor.stroke_style == 'SOLID' or + gpcolor.use_stroke_pattern or + gpcolor.use_stroke_texture_mix + ): col.prop(gpcolor, "color", text="Color") if gpcolor.mode in {'DOTS', 'BOX'}: |