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 08:32:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-19 08:32:24 +0300
commit5b0f0421ef1d841d7389b504057dbf76998007c7 (patch)
tree01fd941322922ad06a24b7179b52c66ac3a4d2ad /release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
parent9573bf432c4b06d940b4b38cc455826f47518884 (diff)
Cleanup: mark unused arguments in UI scripts
Quiet's pylint W0613 warning, also remove some unused args.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
index 05b531f9a1f..83a7524fe03 100644
--- a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
+++ b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
@@ -29,7 +29,7 @@ from .properties_physics_common import (
class PHYSICS_UL_dynapaint_surfaces(UIList):
- def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
+ def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index):
# assert(isinstance(item, bpy.types.DynamicPaintSurface)
surf = item
sticon = layout.enum_item_icon(surf, "surface_type", surf.surface_type)
@@ -557,7 +557,7 @@ class PHYSICS_PT_dp_effects(PhysicButtonsPanel, Panel):
return (context.engine in cls.COMPAT_ENGINES)
- def draw(self, context):
+ def draw(self, _context):
return # do nothing.
@@ -653,7 +653,7 @@ class PHYSICS_PT_dp_effects_drip_weights(PhysicButtonsPanel, Panel):
layout.active = surface.use_drip
- effector_weights_ui(self, context, surface.effector_weights, 'DYNAMIC_PAINT')
+ effector_weights_ui(self, surface.effector_weights, 'DYNAMIC_PAINT')
class PHYSICS_PT_dp_effects_shrink(PhysicButtonsPanel, Panel):
@@ -704,7 +704,7 @@ class PHYSICS_PT_dp_cache(PhysicButtonsPanel, Panel):
surface = context.dynamic_paint.canvas_settings.canvas_surfaces.active
cache = surface.point_cache
- point_cache_ui(self, context, cache, (cache.is_baked is False), 'DYNAMIC_PAINT')
+ point_cache_ui(self, cache, (cache.is_baked is False), 'DYNAMIC_PAINT')
class PHYSICS_PT_dp_brush_source(PhysicButtonsPanel, Panel):