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:
authorCampbell Barton <ideasman42@gmail.com>2019-10-30 19:07:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-30 19:16:48 +0300
commitd9bce6bcf5bcc1c34d6e24adcc8babe757ae827d (patch)
tree304fa80505eff6aa3ee91cb37b0bb4eb47e894aa /release/scripts/startup/bl_ui/space_image.py
parent5043003584e223d996e94abb1dc68e9d80d20d76 (diff)
Fix image paint showing project-paint settings
Also make projpaint a keyword-only argument to avoid copy-paste errors like this re-occurring in the future.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index cf5283d65cb..8de12f759fc 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -1106,9 +1106,9 @@ class IMAGE_PT_paint_color(Panel, ImagePaintPanel):
layout.prop(brush, "color_type", expand=True)
if brush.color_type == 'COLOR':
- brush_texpaint_common_color(self, context, layout, brush, settings, True)
+ brush_texpaint_common_color(self, context, layout, brush, settings)
elif brush.color_type == 'GRADIENT':
- brush_texpaint_common_gradient(self, context, layout, brush, settings, True)
+ brush_texpaint_common_gradient(self, context, layout, brush, settings)
class IMAGE_PT_paint_swatches(Panel, ImagePaintPanel):
@@ -1160,7 +1160,7 @@ class IMAGE_PT_paint_clone(Panel, ImagePaintPanel):
layout.active = settings.use_clone_layer
- brush_texpaint_common_clone(self, context, layout, brush, settings, True)
+ brush_texpaint_common_clone(self, context, layout, brush, settings)
class IMAGE_PT_paint_options(Panel, ImagePaintPanel):
@@ -1186,7 +1186,7 @@ class IMAGE_PT_paint_options(Panel, ImagePaintPanel):
layout.use_property_split = True
layout.use_property_decorate = False # No animation.
- brush_texpaint_common_options(self, context, layout, brush, settings, True)
+ brush_texpaint_common_options(self, context, layout, brush, settings)
class IMAGE_PT_tools_brush_display(BrushButtonsPanel, Panel):