remove type checks on drawing uiList's,
[blender.git] / release / scripts / startup / bl_ui / properties_mask_common.py
index ea04b79357ee84777f28864bf91b031db25fc669..9861db39f308ed6375abc6dddfdf0883658b9b7f 100644 (file)
@@ -27,8 +27,7 @@ from bpy.types import Menu, UIList
 
 class MASK_UL_layers(UIList):
     def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
-        if not isinstance(item, bpy.types.MaskLayer):
-            return
+        # assert(isinstance(item, bpy.types.MaskLayer)
         mask = item
         if self.layout_type in {'DEFAULT', 'COMPACT'}:
             split = layout.split()