diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 9ebcf137688..a955f6b9b40 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -108,7 +108,7 @@ class VIEW3D_MT_tools_projectpaint_clone(Menu): props.value = i -def brush_texpaint_common(panel, context, layout, brush, settings, projpaint=False): +def brush_texpaint_common(panel, context, layout, brush, _settings, projpaint=False): capabilities = brush.image_paint_capabilities col = layout.column() @@ -136,7 +136,7 @@ def brush_texpaint_common(panel, context, layout, brush, settings, projpaint=Fal 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, projpai 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): capabilities = brush.image_paint_capabilities UnifiedPaintPanel.prop_unified_color_picker(layout, context, brush, "color", value_slider=True) @@ -176,7 +176,7 @@ def brush_texpaint_common_color(panel, context, layout, brush, settings, projpai 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 @@ -192,7 +192,7 @@ def brush_texpaint_common_gradient(panel, context, layout, brush, settings, proj col.prop(brush, "gradient_fill_mode") -def brush_texpaint_common_options(panel, context, layout, brush, settings, projpaint=False): +def brush_texpaint_common_options(_panel, _context, layout, brush, _settings, projpaint=False): capabilities = brush.image_paint_capabilities col = layout.column() @@ -372,7 +372,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 @@ -446,7 +446,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) |