Active Grid Object Paging FlattenStaticTransformsVisitor breaks depth sorting for blended objects
As discussed here https://discord.com/channels/260439894298460160/906191954008768562/906266525672030268, although there are two regressions discussed in that thread, and one's not in 0.47 and got fixed.
Visual effect here: https://imgsli.com/ODAzNzU
Basically, the near blended stuff is being drawn first, and because for whatever reason, blended meshes in Morrowind (at least the vanilla ones) leave depth writes on, that prevents the further away ones ever being drawn. With the FlattenStaticTransformsVisitor
commented out, it doesn't happen, but obviously that's a missed optimisation we'd ideally keep.
This doesn't make intuitive sense to me as flattening static transforms should be pretty benign and bounds are being recomputed, so it's not like they're still in the old coordinate system.
This didn't cause problems in 0.46 (as we didn't have object paging yet) and does produce a visual glitch in 0.47 (as AGOP is on by default when distant terrain is on), so should ideally be fixed in 0.47.1 if such a release happens.