remove type checks on drawing uiList's,
[blender.git] / release / scripts / startup / bl_ui / properties_render.py
index 6f0cf6bc69104605f9f8bccf0dd9618a467bd7c4..8dfa954dade1cfdbf688b9d4625b90a70e0cfabf 100644 (file)
@@ -45,8 +45,7 @@ class RENDER_MT_framerate_presets(Menu):
 
 class RENDER_UL_renderlayers(UIList):
     def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
-        if not isinstance(item, bpy.types.SceneRenderLayer):
-            return
+        # assert(isinstance(item, bpy.types.SceneRenderLayer)
         layer = item
         if self.layout_type in {'DEFAULT', 'COMPACT'}:
             layout.label(layer.name, icon_value=icon)