Remove redundant calculation of spline corridor junction list
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user