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-04-19 09:26:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-19 09:29:38 +0300
commita1feea48be62975a83f53fe5258178115138f370 (patch)
tree87c9b288c4438a7d95d014264f6bb37fb9df9f4e /release/scripts/startup/bl_ui/properties_paint_common.py
parent54d8faa93a4dee556b12ef1ec3c607d5a72f396a (diff)
Correct cleanup marking keyword args unused
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index 4c7fb4dd271..9e1a642d891 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -136,7 +136,7 @@ def brush_texpaint_common(panel, context, layout, brush, _settings, projpaint=Fa
brush_basic_texpaint_settings(col, context, brush)
-def brush_texpaint_common_clone(_panel, context, layout, _brush, settings, _projpaint=False):
+def brush_texpaint_common_clone(_panel, context, layout, _brush, settings, projpaint=False):
ob = context.active_object
col = layout.column()
@@ -164,7 +164,7 @@ def brush_texpaint_common_clone(_panel, context, layout, _brush, settings, _proj
col.menu("VIEW3D_MT_tools_projectpaint_clone", text=clone_text, translate=False)
-def brush_texpaint_common_color(_panel, context, layout, brush, _settings, _projpaint=False):
+def brush_texpaint_common_color(_panel, context, layout, brush, _settings, projpaint=False):
UnifiedPaintPanel.prop_unified_color_picker(layout, context, brush, "color", value_slider=True)
row = layout.row(align=True)
@@ -174,7 +174,7 @@ def brush_texpaint_common_color(_panel, context, layout, brush, _settings, _proj
row.operator("paint.brush_colors_flip", icon='FILE_REFRESH', text="", emboss=False)
-def brush_texpaint_common_gradient(_panel, context, layout, brush, _settings, _projpaint=False):
+def brush_texpaint_common_gradient(_panel, context, layout, brush, _settings, projpaint=False):
layout.template_color_ramp(brush, "gradient", expand=True)
layout.use_property_split = True
@@ -369,7 +369,7 @@ def brush_basic_sculpt_settings(layout, context, brush, *, compact=False):
layout.row().prop(brush, "direction", expand=True, **({"text": ""} if compact else {}))
-def brush_basic_gpencil_paint_settings(layout, _context, brush, *, _compact=True):
+def brush_basic_gpencil_paint_settings(layout, _context, brush, *, compact=True):
gp_settings = brush.gpencil_settings
# Brush details
@@ -443,7 +443,7 @@ def brush_basic_gpencil_sculpt_settings(layout, context, brush, *, compact=False
layout.use_property_split = use_property_split_prev
-def brush_basic_gpencil_weight_settings(layout, _context, brush, *, _compact=False):
+def brush_basic_gpencil_weight_settings(layout, _context, brush, *, compact=False):
layout.prop(brush, "size", slider=True)
row = layout.row(align=True)