Add terrain clearing in cleanup method

This commit is contained in:
2026-04-18 19:52:34 +02:00
parent 5499c2fe51
commit d246a470ec

View File

@@ -1065,6 +1065,7 @@ export class ViewportHost {
window.removeEventListener("pointermove", this.handleWindowPointerMove);
this.clearLocalLights();
this.clearBrushMeshes();
this.clearTerrains();
this.clearPaths();
this.clearEntityMarkers();
this.creationPreviewChangeHandler = null;