From f68571d547a5c0cf8610d54cd279d11f1a301e13 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 13 May 2026 19:13:35 +0200 Subject: [PATCH] Migrate and normalize spline corridor junction shape mode --- src/document/migrate-scene-document.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/document/migrate-scene-document.ts b/src/document/migrate-scene-document.ts index 745290ea..62a64efe 100644 --- a/src/document/migrate-scene-document.ts +++ b/src/document/migrate-scene-document.ts @@ -6051,6 +6051,12 @@ function readSplineCorridorJunctionValue( "flattenAndPaint", `${label}.terrainMode` ), + shapeMode: + value.shapeMode === undefined + ? undefined + : isSplineCorridorJunctionShapeMode(value.shapeMode) + ? normalizeSplineCorridorJunctionShapeMode(value.shapeMode) + : expectLiteralString(value.shapeMode, "straight", `${label}.shapeMode`), edge: readScenePathRoadEdgeSettingsValue(value.edge, `${label}.edge`), connections: value.connections.map((connectionValue, index) => readSplineCorridorJunctionConnectionValue(