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_texture.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_texture.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_texture.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index 313e0668b92..946083ea4e9 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -39,7 +39,7 @@ class TEXTURE_MT_context_menu(Menu):
bl_label = "Texture Specials"
COMPAT_ENGINES = {'BLENDER_RENDER'}
- def draw(self, context):
+ def draw(self, _context):
layout = self.layout
layout.operator("texture.slot_copy", icon='COPYDOWN')
@@ -48,7 +48,7 @@ class TEXTURE_MT_context_menu(Menu):
class TEXTURE_UL_texslots(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):
slot = item
tex = slot.texture if slot else None
@@ -357,7 +357,7 @@ class TEXTURE_PT_image(TextureTypePanel, Panel):
tex_type = 'IMAGE'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
- def draw(self, context):
+ def draw(self, _context):
# TODO: maybe expose the template_ID from the template image here.
layout = self.layout
del layout