remove type checks on drawing uiList's,
[blender.git] / release / scripts / startup / bl_ui / space_clip.py
index cf5b94277e7560e6bb17eaab8cafe0416486ff9c..5fc571337675ff29d6a35a302577dc89b6015272 100644 (file)
@@ -24,8 +24,7 @@ from bpy.types import Panel, Header, Menu, UIList
 
 class CLIP_UL_tracking_objects(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.MovieTrackingObject)):
-            return
+        # assert(isinstance(item, bpy.types.MovieTrackingObject)
         tobj = item
         if self.layout_type in {'DEFAULT', 'COMPACT'}:
             layout.label(tobj.name, icon='CAMERA_DATA' if tobj.is_camera else 'OBJECT_DATA')