diff --git a/A00_Common/design/design_pipeline_page.ts b/A00_Common/design/design_pipeline_page.ts index 1443d7085..f17dbfe97 100644 --- a/A00_Common/design/design_pipeline_page.ts +++ b/A00_Common/design/design_pipeline_page.ts @@ -56,7 +56,7 @@ import { readAlignmentDraft, } from "../../B05_Profile/B05_Profile_UI_Profile_Edit"; import { readAlignment } from "../../B05_Profile/logic/B05_Profile_UI_Profile_Data"; -import { plusStationsOf } from "../../B05_Profile/B05_Profile_Api_PlusStations"; +import { followPlusDraft, plusStationsOf } from "../../B05_Profile/B05_Profile_Api_PlusStations"; import { pageReplaying } from "../../B05_Profile/B05_Profile_UI_Profile_History"; import { analysisTerrain, @@ -450,6 +450,7 @@ function createPagePipeline( queueMicrotask(() => { if (event.generation !== pipe.generation) return; if (!pipe.input("route")) { + followPlusDraft(projectId, null); // 추가 측점도 초안 전 값으로(459) if (!beforeDraft) return; writeFacilities(beforeDraft); beforeDraft = null; @@ -461,6 +462,7 @@ function createPagePipeline( pipes: (patch.pipes as Facilities["pipes"]) ?? now.pipes, structures: (patch.structures as Facilities["structures"]) ?? now.structures, }); + followPlusDraft(projectId, patch.plusStations); // 추가 측점 = 좌표 따라감(459) const line = pipe.output("route")?.line ?? []; const far = Array.isArray(patch.structures) ? followStructures(