Keep traffic vehicles and road flow across globe switches

This commit is contained in:
German Khokhlov committed 2026-11-03 04:09:21 +04:00
1 parent 4e09559337
commit 75df3389f3
20 files changed
+586 -109

No files matched your search

+2 -2
View File
@@ -4,9 +4,9 @@ import * as ground from '../../data/groundFloor.js';
import * as render from '../../renderGovernor.js';
/** Construct one layer using the application scene owners and a supplied source. */
export function createApplicationTraffic({ source, surface }) {
export function createApplicationTraffic({ source, surface, nativeRenderer }) {
return createTrafficLayer({
source,
services: { credits, render, ground: surface?.groundFloor || ground },
services: { credits, render, nativeRenderer, ground: surface?.groundFloor || ground },
});
}