From cb42ad82de80a21dd534d752a38a0a2cd6e6da6d Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Fri, 8 Aug 2025 10:57:28 +0900 Subject: [PATCH] =?UTF-8?q?innerLine=20size=20=EB=B3=B4=EC=A1=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/usePolygon.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hooks/usePolygon.js b/src/hooks/usePolygon.js index a36b0982..feea596b 100644 --- a/src/hooks/usePolygon.js +++ b/src/hooks/usePolygon.js @@ -847,7 +847,8 @@ export const usePolygon = () => { // innerLine의 type을 polygonLine의 type으로 변경 if (polygonLine.attributes?.type && innerLine.attributes) { // polygonLine.need = false - innerLine.attributes = { ...polygonLine.attributes } + innerLine.attributes.planeSize = innerLine.attributes.planeSize ?? polygonLine.attributes.planeSize + innerLine.attributes.actualSize = innerLine.attributes.actualSize ?? polygonLine.attributes.actualSize innerLine.direction = polygonLine.direction innerLine.attributes.isStart = true }