Code cleanup: unused python vars & imports
[blender.git] / release / scripts / startup / bl_ui / properties_material.py
index 03a28b609be1a381d66c264c8107e02aa8873c63..e3fcb0ef53ece2ba72144a6aaa9e5452523addad 100644 (file)
@@ -73,7 +73,7 @@ class MATERIAL_MT_specials(Menu):
 class MATERIAL_UL_matslots(UIList):
     def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
         # assert(isinstance(item, bpy.types.MaterialSlot)
-        ob = data
+        ob = data
         slot = item
         ma = slot.material
         if self.layout_type in {'DEFAULT', 'COMPACT'}: