diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 09:10:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 09:10:39 +0300 |
commit | ad4cbc5a58fec30ce52592cdeb5e3eaafc6a2c24 (patch) | |
tree | 1466a1f652bd9e4bd90f28480111989f36d3b0f6 /release/scripts/startup/bl_ui/space_image.py | |
parent | 548fb8103549c85ad007266016d401e48ca74e3b (diff) |
Cleanup: logical checks in UI scripts
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index dd6dd823a64..15a3f798c61 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -975,7 +975,7 @@ class IMAGE_PT_paint_color(Panel, ImagePaintPanel): settings = context.tool_settings.image_paint brush = settings.brush - layout.active = brush.use_gradient == False + layout.active = not brush.use_gradient brush_texpaint_common_color(self, context, layout, brush, settings, True) |