diff --git a/src/hooks/useLine.js b/src/hooks/useLine.js index f61b977b..30cc9ba9 100644 --- a/src/hooks/useLine.js +++ b/src/hooks/useLine.js @@ -174,7 +174,7 @@ export const useLine = () => { const isDiagonal = !isHorizontal && !isVertical const lineLength = line.attributes.planeSize ?? line.getLength() - // line.attributes = { ...line.attributes, planeSize: line.getLength(), actualSize: line.getLength() } + line.attributes = { ...line.attributes, planeSize: lineLength, actualSize: lineLength } if (+roofSizeSet === 1) { if (direction === 'south' || direction === 'north') {