remove type checks on drawing uiList's,
[blender.git] / release / scripts / startup / bl_ui / properties_texture.py
index 33b8e126398de0349d145c2b5336fe4f4ac9ecd9..cb7cc1d42d2fffae8802d80e7fe1982a6c57b23d 100644 (file)
@@ -58,8 +58,7 @@ class TEXTURE_MT_envmap_specials(Menu):
 
 class TEXTURE_UL_texslots(UIList):
     def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
-        if not (item is None or isinstance(item, bpy.types.MaterialTextureSlot)):
-            return
+        # assert(isinstance(item, bpy.types.MaterialTextureSlot)
         ma = data
         slot = item
         tex = slot.texture if slot else None