Compare commits
No commits in common. "333ea63c308e78d8a2a0383952846d484e2edfb7" and "a01f9c2bd1d7404a14c2ab1ea9d5b682294ede37" have entirely different histories.
333ea63c30
...
a01f9c2bd1
@ -883,7 +883,7 @@ export function useAuxiliaryDrawing(id, isUseEffect = true) {
|
||||
return
|
||||
}
|
||||
|
||||
// cutAuxiliary()
|
||||
cutAuxiliary()
|
||||
|
||||
const roofBases = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF)
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user