From f8e7f50df29fb0439bd3dda48b4eef887c782e78 Mon Sep 17 00:00:00 2001 From: Thomas Fuhrmann Date: Mon, 24 Mar 2025 15:03:50 +0100 Subject: [PATCH] Dispose drag controls on explode --- app/three/SceneView.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/three/SceneView.ts b/app/three/SceneView.ts index 2e06325..bceef57 100644 --- a/app/three/SceneView.ts +++ b/app/three/SceneView.ts @@ -377,6 +377,7 @@ export class SceneView extends EventTarget { visible ); + this._dragControls.dispose(); this._dragControls = dragControls; // Add clipping planes to the meshes