fix(vessels): upload Navara chevrons and restore click focus

Fix delayed and growing mover bank commits, reject stale hidden model picks, and route world-focus through the engine. Strengthen vessel parity and performance checks without changing thresholds.
This commit is contained in:
German Khokhlov committed 2026-10-22 12:31:59 +04:00
1 parent 69a78710cc
commit c8a4f3ed98
10 files changed
+96 -7

No files matched your search

+18
View File
@@ -152,3 +152,21 @@ test('weather shell supplies live imagery hosts to wind and observations and rel
owner.disconnect();
for (const id of ids) assert.equal(attached.get(id), null);
});
test('world focus uses the engine when the shell has no Cesium viewer', async (t) => {
const { requestWorldFocus } = await import('../worldFocus.js');
replaceWindow(t, new EventTarget());
const engine = createFakeEngine();
let target;
engine.camera.flyToSphere = (sphere) => { target = sphere.center; };
const owner = new LayerBindings({
viewer: null, engine, services: {}, readControls: () => ({}),
operations: { _runExplicitWorldFocus: (_detail, fly) => fly() },
});
owner.observeCamera();
const position = { x: 6378137, y: 0, z: 0 };
requestWorldFocus({ kind: 'vessel', id: '111', position });
assert.deepEqual(target, position);
owner.stop();
});