Street Level: a posted view whose camera was taken stands down whole again

Applying the rest of a posted view after the camera was taken during its
terrain wait still let it change the camera: stop_tracking dropped a follow
the user had just started, and annotate_map framed the view's marks. A
camera taken during the wait now ends the view again, as before. The 2 s
terrain timeout and the per-view catch on the queue stay.
This commit is contained in:
German Khokhlov committed 2026-11-11 19:01:58 +04:00
1 parent 0ebc09079d
commit 71797427d6
4 files changed
+135 -23

No files matched your search

-5
View File
@@ -144,11 +144,6 @@ for (const takeover of ['navigation', 'gesture', 'none']) {
assert.equal(h.flights.length, takeover === 'none' ? 1 : 0, 'superseded view must not reclaim the camera');
assert.equal(a.calls.open.length, takeover === 'none' ? 1 : 0);
assert.equal(reply.ok, takeover === 'none');
// Only the photos stand down: the rest of the view still applies, and
// the camera stays with whoever took it.
const steps = reply.steps.map(step => step.step);
assert.ok(steps.includes('clear_annotations'), JSON.stringify(steps));
assert.ok(!steps.includes('camera'), JSON.stringify(steps));
});
}