Add terrain clearing in cleanup method
This commit is contained in:
@@ -1065,6 +1065,7 @@ export class ViewportHost {
|
|||||||
window.removeEventListener("pointermove", this.handleWindowPointerMove);
|
window.removeEventListener("pointermove", this.handleWindowPointerMove);
|
||||||
this.clearLocalLights();
|
this.clearLocalLights();
|
||||||
this.clearBrushMeshes();
|
this.clearBrushMeshes();
|
||||||
|
this.clearTerrains();
|
||||||
this.clearPaths();
|
this.clearPaths();
|
||||||
this.clearEntityMarkers();
|
this.clearEntityMarkers();
|
||||||
this.creationPreviewChangeHandler = null;
|
this.creationPreviewChangeHandler = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user