Compare commits

..

No commits in common. "333ea63c308e78d8a2a0383952846d484e2edfb7" and "a01f9c2bd1d7404a14c2ab1ea9d5b682294ede37" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -883,7 +883,7 @@ export function useAuxiliaryDrawing(id, isUseEffect = true) {
return
}
// cutAuxiliary()
cutAuxiliary()
const roofBases = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF)

View File

@ -845,14 +845,12 @@ export const usePolygon = () => {
polygonLines.forEach((polygonLine) => {
if (checkLineOverlap(innerLine, polygonLine)) {
// innerLine의 type을 polygonLine의 type으로 변경
if (innerLine.attributes && polygonLine.attributes.type) {
if (polygonLine.attributes?.type && innerLine.attributes) {
// polygonLine.need = false
innerLine.attributes.planeSize = innerLine.attributes.planeSize ?? polygonLine.attributes.planeSize
innerLine.attributes.actualSize = innerLine.attributes.actualSize ?? polygonLine.attributes.actualSize
innerLine.attributes.type = polygonLine.attributes.type
innerLine.direction = polygonLine.direction
innerLine.attributes.isStart = true
innerLine.parentLine = polygonLine
}
}
})