auto-git:

[change] src/viewport-three/viewport-host.ts
This commit is contained in:
2026-04-22 13:12:42 +02:00
parent cf19780153
commit 3172cac299

View File

@@ -1534,6 +1534,8 @@ export class ViewportHost {
this.localLightGroup.visible = this.displayMode !== "wireframe";
if (this.displayMode !== "normal") {
this.dynamicWorldEnvironmentTarget?.dispose();
this.dynamicWorldEnvironmentTarget = null;
this.scene.background = null;
this.scene.environment = null;
this.scene.environmentIntensity = 1;