Merge pull request 'dev' (#283) from dev into prd-deploy

Reviewed-on: #283
This commit is contained in:
ysCha 2025-08-08 16:40:29 +09:00
commit ebb45740a8
2 changed files with 4 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,14 @@ 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.attributes.type = polygonLine.attributes.type
innerLine.direction = polygonLine.direction
innerLine.attributes.isStart = true
innerLine.parentLine = polygonLine
}
}
})