Update migration logic to handle junction edge scene document version

This commit is contained in:
2026-05-13 17:15:29 +02:00
parent 7d35aeddd6
commit becbc93c70

View File

@@ -6723,6 +6723,7 @@ export function migrateSceneDocument(source: unknown): SceneDocument {
source.version !== SPLINE_REPEATERS_SCENE_DOCUMENT_VERSION &&
source.version !== SPLINE_CORRIDOR_COLLISION_SCENE_DOCUMENT_VERSION &&
source.version !== SPLINE_CORRIDOR_JUNCTIONS_SCENE_DOCUMENT_VERSION &&
source.version !== SPLINE_CORRIDOR_JUNCTION_EDGE_SCENE_DOCUMENT_VERSION &&
source.version !== NPC_TARGETING_SCENE_DOCUMENT_VERSION
) {
throw new Error(