From 1ba4e2b1132f245d6ada1e8e16a9ec8a8cd9dcde Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 31 Mar 2026 20:06:24 +0200 Subject: [PATCH] Remove unused variable in viewport-host.ts --- src/viewport-three/viewport-host.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/viewport-three/viewport-host.ts b/src/viewport-three/viewport-host.ts index 2f4797f3..498fde2e 100644 --- a/src/viewport-three/viewport-host.ts +++ b/src/viewport-three/viewport-host.ts @@ -351,8 +351,6 @@ export class ViewportHost { this.clearLocalLights(); for (const entity of getEntityInstances(document.entities)) { - const selected = this.currentSelection.kind === "entities" && this.currentSelection.ids.includes(entity.id); - switch (entity.kind) { case "pointLight": { const renderObjects = this.createPointLightRuntimeObjects(entity); @@ -598,7 +596,7 @@ export class ViewportHost { group.add(light); return { - group: this.createPointLightObjects(entity) + group }; }