From cbf7e9119c05eaef0f2f090c56c444b85f500711 Mon Sep 17 00:00:00 2001 From: yscha Date: Mon, 1 Dec 2025 00:08:46 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=A0=EB=8B=B9=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/skeleton-utils.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/util/skeleton-utils.js b/src/util/skeleton-utils.js index d262c678..4e859840 100644 --- a/src/util/skeleton-utils.js +++ b/src/util/skeleton-utils.js @@ -922,16 +922,21 @@ if(roof.moveUpDown??0 > 0) { newPEnd.x = wallBaseLine.x2; getAddLine({ x: wallBaseLine.x2, y: newPEnd.y }, { x: wallBaseLine.x2, y: wallBaseLine.y2 }) + findPoints.push({ x: wallBaseLine.x2, y: wallBaseLine.y2 }); newPStart.x = wallBaseLine.x1; getAddLine({ x: wallBaseLine.x1, y: newPEnd.y }, { x: wallBaseLine.x1, y: wallBaseLine.y1 }) - //추가 라인? - findPoints.push({ x: wallBaseLine.x2, y: wallBaseLine.y2 }); findPoints.push({ x: wallBaseLine.x1, y: wallBaseLine.y1 }); + //추가 라인? + + } else if (wallBaseLine.x1 <= newPStart.x && newPStart.x <= newPEnd.x && newPEnd.x <= wallBaseLine.x2) { // 아래가운데 newPEnd.x = wallBaseLine.x1; getAddLine({ x: wallBaseLine.x1, y: newPEnd.y }, { x: wallBaseLine.x1, y: wallBaseLine.y1 }) + findPoints.push({ x: wallBaseLine.x1, y: wallBaseLine.y1 }); newPStart.x = wallBaseLine.x2; getAddLine({ x: wallBaseLine.x2, y: newPEnd.y }, { x: wallBaseLine.x2, y: wallBaseLine.y2 }) + findPoints.push({ x: wallBaseLine.x2, y: wallBaseLine.y2 }); + } }