auto-git:
[change] src/runtime-three/runtime-host.ts
This commit is contained in:
@@ -657,6 +657,7 @@ export class RuntimeHost {
|
|||||||
this.syncResolvedControlStateToRuntime(runtimeScene.control.resolved);
|
this.syncResolvedControlStateToRuntime(runtimeScene.control.resolved);
|
||||||
this.applyWorld();
|
this.applyWorld();
|
||||||
this.rebuildLocalLights(runtimeScene.localLights);
|
this.rebuildLocalLights(runtimeScene.localLights);
|
||||||
|
this.rebuildLightVolumes(runtimeScene.volumes.light);
|
||||||
this.rebuildBrushMeshes(runtimeScene.brushes);
|
this.rebuildBrushMeshes(runtimeScene.brushes);
|
||||||
this.rebuildTerrainMeshes(runtimeScene.terrains);
|
this.rebuildTerrainMeshes(runtimeScene.terrains);
|
||||||
this.rebuildModelRenderObjects(
|
this.rebuildModelRenderObjects(
|
||||||
@@ -837,6 +838,7 @@ export class RuntimeHost {
|
|||||||
this.resizeObserver?.disconnect();
|
this.resizeObserver?.disconnect();
|
||||||
this.resizeObserver = null;
|
this.resizeObserver = null;
|
||||||
this.clearLocalLights();
|
this.clearLocalLights();
|
||||||
|
this.clearLightVolumes();
|
||||||
this.clearBrushMeshes();
|
this.clearBrushMeshes();
|
||||||
this.clearTerrainMeshes();
|
this.clearTerrainMeshes();
|
||||||
this.clearModelRenderObjects();
|
this.clearModelRenderObjects();
|
||||||
|
|||||||
Reference in New Issue
Block a user