From 5ae42b77a4fc9149484b6465249a6be33e38a35e Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 1 Apr 2026 04:05:33 +0200 Subject: [PATCH] Include loop property in createPlayAnimationInteractionLink --- src/document/migrate-scene-document.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/document/migrate-scene-document.ts b/src/document/migrate-scene-document.ts index 9134695f..6d21fb45 100644 --- a/src/document/migrate-scene-document.ts +++ b/src/document/migrate-scene-document.ts @@ -850,7 +850,8 @@ function readInteractionAction(value: unknown, label: string): InteractionLink[" return createPlayAnimationInteractionLink({ sourceEntityId: "interaction-source-placeholder", targetModelInstanceId, - clipName + clipName, + loop: value.loop === undefined ? undefined : expectBoolean(value.loop, `${label}.loop`) }).action; } case "stopAnimation": {