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 }