Remove redundant calculation of spline corridor junction list

This commit is contained in:
2026-05-13 13:28:21 +02:00
parent 8ba60119ec
commit c20e4d966c

View File

@@ -2818,9 +2818,6 @@ export function App({
terrainList terrainList
); );
const selectedPath = getSelectedPath(editorState.selection, pathList); const selectedPath = getSelectedPath(editorState.selection, pathList);
const splineCorridorJunctionList = getSplineCorridorJunctions(
editorState.document.splineCorridorJunctions
);
const splineCorridorJunctionCandidates = detectSplineCorridorJunctionCandidates({ const splineCorridorJunctionCandidates = detectSplineCorridorJunctionCandidates({
paths: pathList, paths: pathList,
junctions: editorState.document.splineCorridorJunctions, junctions: editorState.document.splineCorridorJunctions,