Render world map overview as a screen-space starfield and rename it to 世界地图.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-07 11:02:23 +08:00
parent 8444d85005
commit fdab188cc1
11 changed files with 470 additions and 67 deletions

View file

@ -34,7 +34,9 @@ def _is_world_flat(view: TopoView) -> bool:
filt = dict(view.filter or {})
if filt.get("world_flat"):
return True
return str(view.name or "").strip() == "完整世界地图"
from .ume_topology_world import is_world_flat_view_name
return is_world_flat_view_name(str(view.name or "").strip())
def primary_canvas_view(db: Session, folder_id: str) -> TopoView | None: