Compare commits
No commits in common. "ebb45740a87cbf76b9bf5dab51f8905e5c3bb141" and "59db4d471fb39f9af150ea9767f181d2d540e1e7" have entirely different histories.
ebb45740a8
...
59db4d471f
@ -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