big
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user