#1478 외벽선 작성으로 지붕면 할당 시 계산 오류 수정
This commit is contained in:
parent
022278a248
commit
5a64ff945a
@ -1955,7 +1955,7 @@ export const usePolygon = () => {
|
||||
forceUpdate = true
|
||||
}
|
||||
|
||||
if (polygon.from !== 'surface') {
|
||||
/*if (polygon.from !== 'surface') {
|
||||
// createdRoofs들의 모든 lines를 확인해서 length값이 1이하인 차이가 있으면 통일 시킨다.
|
||||
const allRoofs = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF)
|
||||
const allRoofLines = allRoofs.flatMap((roof) => roof.lines)
|
||||
@ -1978,7 +1978,7 @@ export const usePolygon = () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
polygon.lines.forEach((line, index) => {
|
||||
if (line.attributes.isCalculated && !forceUpdate) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user