remove type checks on drawing uiList's,
[blender.git] / release / scripts / startup / bl_ui / properties_scene.py
index 100c7d93c775ba2990e0526e8979ed156152859c..3230fb7392bac5833d0da015ef234dbf6d0ac594 100644 (file)
@@ -24,8 +24,7 @@ from rna_prop_ui import PropertyPanel
 
 class SCENE_UL_keying_set_paths(UIList):
     def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
-        if not isinstance(item, bpy.types.KeyingSetPath):
-            return
+        # assert(isinstance(item, bpy.types.KeyingSetPath)
         kspath = item
         icon = layout.enum_item_icon(kspath, "id_type", kspath.id_type)
         if self.layout_type in {'DEFAULT', 'COMPACT'}: