mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
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:
1 parent
c6e1b65c67
commit
d112ecf296
5 files changed
+81
-5
No files matched your search
@@ -389,6 +389,11 @@ export function createCameraModel({
|
||||
camera,
|
||||
sync,
|
||||
afterFrame,
|
||||
/**
|
||||
* Ends a running flight (its `cancel` runs) without camera.commanded:
|
||||
* for the user's own gestures, which are not a new camera owner.
|
||||
*/
|
||||
stopFlight: () => cancelCurrentFlight(),
|
||||
/** The current camera for projections: pose, vertical fov and CSS size. */
|
||||
view,
|
||||
worldToWindow: (position, result) =>
|
||||
|
||||
Reference in new issue
Block a user