This commit is contained in:
Nicholas Butzke
2026-08-02 02:20:02 -04:00
parent 61669627db
commit 922983429e
226 changed files with 34032 additions and 18521 deletions
+8
View File
@@ -192,6 +192,14 @@ func _bounds(node: Node) -> AABB:
var box := vi.get_aabb()
if box.size.length() > 100000.0 or box.size.length() < 0.001:
continue
# Skip declared BACKDROP: distant hills, ridges and anything else that
# is painted scenery rather than level. Sakura Crossing's far ridge sits
# 380 m out, which inflated the merged bounds to about a kilometre and
# put every fallback vantage in orbit — the map photographed as a
# diorama floating in an empty sky, which is the exact failure this
# tool's framing was rewritten to avoid.
if vi.has_meta("preview_backdrop"):
continue
box = vi.global_transform * box
if not any:
out = box