remove type checks on drawing uiList's,
[blender.git] / release / scripts / startup / bl_ui / properties_physics_dynamicpaint.py
index b102f1b09d053f33f6d4581075b6155229ddce00..9393852b8a55437275727ed6156fd4c7e6e2dc4c 100644 (file)
@@ -27,8 +27,7 @@ from bl_ui.properties_physics_common import (point_cache_ui,
 
 class PHYSICS_UL_dynapaint_surfaces(UIList):
     def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
-        if not isinstance(item, bpy.types.DynamicPaintSurface):
-            return
+        # assert(isinstance(item, bpy.types.DynamicPaintSurface)
         surf = item
         sticon = layout.enum_item_icon(surf, "surface_type", surf.surface_type)
         if self.layout_type in {'DEFAULT', 'COMPACT'}: