diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py | 8 |
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): |