I think redrawing is something that TWBT is doing anyway, and the "redraw all" command just makes it redraw more often than it normally does. Maybe the redraw all command isn't directly responsible for the crashes; maybe it just increases the chances for the crash condition to occur.



Anyway, I'll try looking into this crash but then I'll take a break and think about rewriting TWBT because there's a number of things that I can't fix without architecture changes (namely, support for multiple GPU textures to get rid of the tilesheet limit, support for overriding all building tiles, optimisations, and eliminating of the possibility of the said thread synchronisation issues). I don't mean the break will necessarily be long but rather that I'll not make fixes or add new features to the current implementation.

I've already explained somewhere here, redraw_all makes it redraw all the tiles and not just with changed tile numbers/colours. I don't know why it crashes for farm plots, but in general it does all the processing on another thread which isn't very good, but doesn't slow down simulation and wasn't causing problems before. Probably reprocessing ALL tiles makes it more likely to crash. Or maybe it's something completely different.