auto-git:

[change] src/app/App.tsx
 [change] src/app/app.css
 [change] src/assets/image-assets.ts
 [change] src/commands/create-custom-material-command.ts
 [change] src/commands/set-custom-material-texture-command.ts
 [change] src/commands/update-custom-material-command.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/rendering/terrain-layer-material.ts
 [change] src/runtime-three/runtime-host.ts
This commit is contained in:
2026-05-18 16:20:41 +02:00
parent 977b4cccea
commit 1fb96650c5
9 changed files with 200 additions and 105 deletions

View File

@@ -6109,11 +6109,7 @@ function readSplineCorridorJunctionConnectionValue(
pathId: expectString(value.pathId, `${label}.pathId`),
progress: readOptionalFiniteNumber(value.progress, `${label}.progress`, 0),
clipDistance: normalizeSplineCorridorJunctionClipDistance(
readOptionalFiniteNumber(
value.clipDistance,
`${label}.clipDistance`,
1.5
)
readOptionalFiniteNumber(value.clipDistance, `${label}.clipDistance`, 1.5)
)
};
}
@@ -6162,7 +6158,11 @@ function readSplineCorridorJunctionValue(
? undefined
: isSplineCorridorJunctionShapeMode(value.shapeMode)
? normalizeSplineCorridorJunctionShapeMode(value.shapeMode)
: expectLiteralString(value.shapeMode, "straight", `${label}.shapeMode`),
: expectLiteralString(
value.shapeMode,
"straight",
`${label}.shapeMode`
),
edge: readScenePathRoadEdgeSettingsValue(value.edge, `${label}.edge`),
connections: value.connections.map((connectionValue, index) =>
readSplineCorridorJunctionConnectionValue(