From aa78f83cacc6998587ac8eafe567c8a30ec7e375 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 13 May 2026 13:26:27 +0200 Subject: [PATCH] Feature: Add support for Spline Corridor Junctions --- src/app/App.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 41574861..6816410d 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -34,6 +34,7 @@ import { createApplySplineRoadToTerrainCommand } from "../commands/apply-spline- import { createDeletePathCommand } from "../commands/delete-path-command"; import { createDeletePathPointCommand } from "../commands/delete-path-point-command"; import { createDeletePathPointsCommand } from "../commands/delete-path-points-command"; +import { createDeleteSplineCorridorJunctionCommand } from "../commands/delete-spline-corridor-junction-command"; import { createDeleteModelInstanceCommand } from "../commands/delete-model-instance-command"; import { createCommitTransformSessionCommand } from "../commands/commit-transform-session-command"; import { @@ -70,6 +71,7 @@ import { createSetWorldSettingsCommand } from "../commands/set-world-settings-co import { createUpsertEntityCommand } from "../commands/upsert-entity-command"; import { createUpsertModelInstanceCommand } from "../commands/upsert-model-instance-command"; import { createUpsertPathCommand } from "../commands/upsert-path-command"; +import { createUpsertSplineCorridorJunctionCommand } from "../commands/upsert-spline-corridor-junction-command"; import { createUpsertTerrainCommand } from "../commands/upsert-terrain-command"; import { createUpsertInteractionLinkCommand } from "../commands/upsert-interaction-link-command"; import { createUpdateFoliageLayerCommand } from "../commands/update-foliage-layer-command"; @@ -273,7 +275,22 @@ import { type ScenePathRoadEdgeSide, type ScenePathPoint } from "../document/paths"; +import { + createSplineCorridorJunction, + getSplineCorridorJunctions, + normalizeSplineCorridorJunctionMaterialId, + normalizeSplineCorridorJunctionRadius, + normalizeSplineCorridorJunctionTerrainMode, + type SplineCorridorJunction, + type SplineCorridorJunctionTerrainMode +} from "../document/spline-corridor-junctions"; import { BUNDLED_SPLINE_CORRIDOR_ASSETS } from "../spline-corridor/bundled-spline-corridor-assets"; +import { + createSplineCorridorJunctionFromCandidate, + detectSplineCorridorJunctionCandidates, + getSplineCorridorJunctionsConnectedToPath, + type SplineCorridorJunctionCandidate +} from "../spline-corridor/spline-corridor-junctions"; import { areTerrainsEqual, createTerrain,