From c730a1f4e57e262c666e73b5b110225349ecccae Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 01:39:56 +0200 Subject: [PATCH] Remove unused case 'toggleVisibility' in runtime-interaction-system.ts --- src/runtime-three/runtime-interaction-system.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/runtime-three/runtime-interaction-system.ts b/src/runtime-three/runtime-interaction-system.ts index 25323e58..61cb640b 100644 --- a/src/runtime-three/runtime-interaction-system.ts +++ b/src/runtime-three/runtime-interaction-system.ts @@ -759,13 +759,6 @@ export class RuntimeInteractionSystem { } return; } - case "toggleVisibility": - dispatcher.toggleBrushVisibility( - step.targetBrushId, - step.visible, - link - ); - return; case "setVisibility": if (dispatcher.setVisibility !== undefined) { dispatcher.setVisibility(step.target, step.mode, link); @@ -784,7 +777,6 @@ export class RuntimeInteractionSystem { throw new Error( "Runtime visibility steps targeting model instances require dispatcher.setVisibility support." ); - return; case "startDialogue": dispatcher.startDialogue(step.dialogueId, { kind: "interactionLink",