mirror of
https://github.com/hansjone/netx.git
synced 2026-10-17 15:40:47 +08:00
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:
parent
8444d85005
commit
fdab188cc1
11 changed files with 470 additions and 67 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue