Compare commits
No commits in common. "b0bfea30b47d27b58712593d8346d43267cc7e32" and "6b1ddece7261c33eb70abd7b96662a696d43d1c7" have entirely different histories.
b0bfea30b4
...
6b1ddece72
@ -1955,7 +1955,7 @@ export const usePolygon = () => {
|
|||||||
forceUpdate = true
|
forceUpdate = true
|
||||||
}
|
}
|
||||||
|
|
||||||
/*if (polygon.from !== 'surface') {
|
if (polygon.from !== 'surface') {
|
||||||
// createdRoofs들의 모든 lines를 확인해서 length값이 1이하인 차이가 있으면 통일 시킨다.
|
// createdRoofs들의 모든 lines를 확인해서 length값이 1이하인 차이가 있으면 통일 시킨다.
|
||||||
const allRoofs = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF)
|
const allRoofs = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF)
|
||||||
const allRoofLines = allRoofs.flatMap((roof) => roof.lines)
|
const allRoofLines = allRoofs.flatMap((roof) => roof.lines)
|
||||||
@ -1978,7 +1978,7 @@ export const usePolygon = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
|
|
||||||
polygon.lines.forEach((line, index) => {
|
polygon.lines.forEach((line, index) => {
|
||||||
if (line.attributes.isCalculated && !forceUpdate) {
|
if (line.attributes.isCalculated && !forceUpdate) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user