fix(simulation): isolate semantics and correct clipping and orthographic LOD

This commit is contained in:
DCCONSTRUCTIONS
2026-11-10 01:05:59 +03:00
parent ab5766df6a
commit 7595bea07c
12 changed files with 198 additions and 48 deletions
@@ -227,7 +227,7 @@ export function AiPolygonWorkspace({headerToolsHost}:{headerToolsHost?:HTMLEleme
return <div className="ai-polygon">
<header className="ai-polygon__head">
<div className="ai-polygon__title">
{selected ? <IconButton label="Назад к локациям" onClick={returnToLocations}>
{selected && !planning ? <IconButton label="Назад к локациям" onClick={returnToLocations}>
<Icon name="chevron-left" />
</IconButton> : null}
<h2>{selected?.name ?? "Доступные локации"}</h2>
@@ -275,7 +275,7 @@ export function AiPolygonWorkspace({headerToolsHost}:{headerToolsHost?:HTMLEleme
<LocalManualScene key={selected.world_id} world={selected} robot={robot} settings={roverSettings} actionsHost={headerToolsHost??actionsHost} headerActions={sceneActions} />
</Suspense> : planning ? <Suspense fallback={<LoadingRegion loading label="Открываем редактор" />}>
<AiLocalPlanner key={selected.world_id} world={selected} initialPoints={editorPlan?.points ?? EMPTY_POINTS}
sceneMode={sceneMode} onSceneMode={setSceneMode}
sceneMode={sceneMode} onSceneMode={setSceneMode} onBack={returnToLocations}
busy={starting || saving || preparation.busy} preparedRoute={preparation.route} onDraft={setDraft}
actionsHost={headerToolsHost??actionsHost} headerActions={taskSelector} routeActions={routeActions} routeActionsHost={actionsHost} />
</Suspense> : <LoadingRegion loading={starting} label="Открываем симуляцию на Worker">