보조선 확정시 자르기 제거

This commit is contained in:
hyojun.choi 2025-08-08 15:05:17 +09:00
parent cb42ad82de
commit 6819196d20
2 changed files with 3 additions and 2 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,12 +845,13 @@ export const usePolygon = () => {
polygonLines.forEach((polygonLine) => {
if (checkLineOverlap(innerLine, polygonLine)) {
// innerLine의 type을 polygonLine의 type으로 변경
if (polygonLine.attributes?.type && innerLine.attributes) {
if (innerLine.attributes && polygonLine.attributes.type) {
// polygonLine.need = false
innerLine.attributes.planeSize = innerLine.attributes.planeSize ?? polygonLine.attributes.planeSize
innerLine.attributes.actualSize = innerLine.attributes.actualSize ?? polygonLine.attributes.actualSize
innerLine.direction = polygonLine.direction
innerLine.attributes.isStart = true
innerLine.parentLine = polygonLine
}
}
})