mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 17:52:21 +00:00
Let the cockpit focus test reach its check
The test's camera and rendering doubles now carry what focusing a mission uses, so without the cockpit guard the test fails on the camera flight rather than on a missing double. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
cdde80f3ad
commit
b5018b8cc2
1 file changed
+3
@@ -42,6 +42,8 @@ function scene(t) {
|
||||
pose: () => ({ position: { x: 2e7, y: 0, z: 0 } }),
|
||||
on: () => () => {},
|
||||
flyTo: (...args) => flights.push(args),
|
||||
lookAt: noop,
|
||||
release: noop,
|
||||
},
|
||||
});
|
||||
t.after(unbind);
|
||||
@@ -71,6 +73,7 @@ function scene(t) {
|
||||
};
|
||||
parts.selection = createSelection({ state, services, parts });
|
||||
const rendering = createRendering({ state, services, parts });
|
||||
parts.rendering = rendering;
|
||||
rendering.attach(viewer);
|
||||
rendering.showMissions(true);
|
||||
rendering.addLaunchEntity(launch, null);
|
||||
|
||||
Reference in new issue
Block a user