From 285e70c9ae23b228c45cf17e0aa721836132d85a Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 11:13:07 +0200 Subject: [PATCH] Handle smoothPath in readControlEffect --- src/document/migrate-scene-document.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/document/migrate-scene-document.ts b/src/document/migrate-scene-document.ts index cc2c75b8..4745db67 100644 --- a/src/document/migrate-scene-document.ts +++ b/src/document/migrate-scene-document.ts @@ -3268,6 +3268,10 @@ function readControlEffect(value: unknown, label: string): ControlEffect { pathId: expectString(value.pathId, `${label}.pathId`), speed: expectPositiveFiniteNumber(value.speed, `${label}.speed`), loop: expectBoolean(value.loop, `${label}.loop`), + smoothPath: + value.smoothPath === undefined + ? true + : expectBoolean(value.smoothPath, `${label}.smoothPath`), progressMode }); }