BinaryConstruct/Terraria-Map-Editor — comment on commit a2141a9232b614d120b8db1db94d33148ff14ff0
File:  line 0
By SineSwiper:

Sure thing. I was in the middle of debugging last night, so I should hopefully have it stabilized tonight. Trees are going to be a big challenge, but hey, if it can validate trees, it can validate everything else.

I could even see a tree sprite placement tool that basically asks for a width/height, randomizes frames, and re-randomizes frames that don't validate. Some logic would need to be put in there to prevent early Tree Top placement, etc., but for the most part, an "infinite monkeys" approach would actually work out here.