fix(globe): render holds and commanded on Navara

The render governor installs on a non-Cesium globe engine as its backend:
owner-counted holds drive engine.render.setContinuous and requests go to
engine.render.request, so orbit and every other per-frame owner keep
Navara drawing while held and let it idle once the last hold goes. Cesium
stays on the viewer path its engine delegates to.

A user gesture on Navara now ends a flight without raising
camera.commanded (the user is not a new camera owner). Headless Navara QA
checks both.
This commit is contained in:
German Khokhlov committed 2026-10-15 20:06:13 +04:00
1 parent c6e1b65c67
commit d112ecf296
5 files changed
+81 -5

No files matched your search

+2 -1
View File
@@ -120,7 +120,8 @@ export function createNavaraEngine(
view.on(name, handler);
const input = createNavaraInput(view, {
onCameraInput: () => model.camera.cancelFlight(),
// A gesture is the user, not a new camera owner: no camera.commanded.
onCameraInput: () => model.stopFlight(),
});
const credits = createNavaraCredits(view);
const maps = createNavaraMaps(view, fetch ? { fetch } : {});