Compare commits

..

No commits in common. "418d514a37b6a1543811d672018e841312f1e85d" and "fd5c042196161089ffaab515161fef7770646028" 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') {