Remove unused case 'toggleVisibility' in runtime-interaction-system.ts
This commit is contained in:
@@ -759,13 +759,6 @@ export class RuntimeInteractionSystem {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case "toggleVisibility":
|
|
||||||
dispatcher.toggleBrushVisibility(
|
|
||||||
step.targetBrushId,
|
|
||||||
step.visible,
|
|
||||||
link
|
|
||||||
);
|
|
||||||
return;
|
|
||||||
case "setVisibility":
|
case "setVisibility":
|
||||||
if (dispatcher.setVisibility !== undefined) {
|
if (dispatcher.setVisibility !== undefined) {
|
||||||
dispatcher.setVisibility(step.target, step.mode, link);
|
dispatcher.setVisibility(step.target, step.mode, link);
|
||||||
@@ -784,7 +777,6 @@ export class RuntimeInteractionSystem {
|
|||||||
throw new Error(
|
throw new Error(
|
||||||
"Runtime visibility steps targeting model instances require dispatcher.setVisibility support."
|
"Runtime visibility steps targeting model instances require dispatcher.setVisibility support."
|
||||||
);
|
);
|
||||||
return;
|
|
||||||
case "startDialogue":
|
case "startDialogue":
|
||||||
dispatcher.startDialogue(step.dialogueId, {
|
dispatcher.startDialogue(step.dialogueId, {
|
||||||
kind: "interactionLink",
|
kind: "interactionLink",
|
||||||
|
|||||||
Reference in New Issue
Block a user