From 1fb96650c5bd11e6cc4697f2cdc9f078631ee010 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 18 May 2026 16:20:41 +0200 Subject: [PATCH] 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 --- src/app/App.tsx | 140 ++++++++++-------- src/app/app.css | 13 +- src/assets/image-assets.ts | 115 +++++++++++--- .../create-custom-material-command.ts | 4 +- .../set-custom-material-texture-command.ts | 4 +- .../update-custom-material-command.ts | 4 +- src/document/migrate-scene-document.ts | 12 +- src/rendering/terrain-layer-material.ts | 8 +- src/runtime-three/runtime-host.ts | 5 +- 9 files changed, 200 insertions(+), 105 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 28c48457..563ccb0c 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -2913,11 +2913,12 @@ export function App({ terrainList ); const selectedPath = getSelectedPath(editorState.selection, pathList); - const splineCorridorJunctionCandidates = detectSplineCorridorJunctionCandidates({ - paths: pathList, - junctions: editorState.document.splineCorridorJunctions, - terrains: terrainList.filter((terrain) => terrain.enabled) - }); + const splineCorridorJunctionCandidates = + detectSplineCorridorJunctionCandidates({ + paths: pathList, + junctions: editorState.document.splineCorridorJunctions, + terrains: terrainList.filter((terrain) => terrain.enabled) + }); const selectedPathJunctionCandidates = selectedPath === null ? [] @@ -9769,10 +9770,7 @@ export function App({ const handleTerrainPaintLayerChange = (value: string) => { setActiveTerrainPaintLayerIndex( - clampTerrainPaintLayerIndex( - Number(value), - selectedTerrain?.layers.length - ) + clampTerrainPaintLayerIndex(Number(value), selectedTerrain?.layers.length) ); }; @@ -10113,7 +10111,9 @@ export function App({ const handleDeleteSplineCorridorJunction = (junctionId: string) => { try { - store.executeCommand(createDeleteSplineCorridorJunctionCommand(junctionId)); + store.executeCommand( + createDeleteSplineCorridorJunctionCommand(junctionId) + ); setStatusMessage("Deleted spline corridor junction."); } catch (error) { setStatusMessage(getErrorMessage(error)); @@ -21868,7 +21868,10 @@ export function App({
{selectedTerrain.layers.map((layer, layerIndex) => (
-