Compare commits

..

No commits in common. "a0964efa08a9fe7272f9b47859908115059e16dd" and "8a1e0fa6384a755144dab38516d55fe943ad8233" have entirely different histories.

View File

@ -172,9 +172,9 @@ export const useLine = () => {
const isHorizontal = y1 === y2
const isVertical = x1 === x2
const isDiagonal = !isHorizontal && !isVertical
const lineLength = line.attributes.planeSize ?? line.getLength()
const lineLength = line.getLength()
line.attributes = { ...line.attributes, planeSize: lineLength, actualSize: lineLength }
line.attributes = { ...line.attributes, planeSize: line.getLength(), actualSize: line.getLength() }
if (+roofSizeSet === 1) {
if (direction === 'south' || direction === 'north') {