UI_panel_category_draw_all was setting PolygonMode to LINES before drawing LINES. stitch_draw was setting PolygonMode to its default FILL value — any function that deviates from the default should’ve changed it back to FILL.
UI_panel_category_draw_all was setting PolygonMode to LINES before drawing LINES. stitch_draw was setting PolygonMode to its default FILL value — any function that deviates from the default should’ve changed it back to FILL.