Compare commits
No commits in common. "0db473bf424bb955d496f99900c6ab8796e17682" and "1c2bb7147a5453964df2b4be04ef7f004aa0e128" have entirely different histories.
0db473bf42
...
1c2bb7147a
@ -266,15 +266,14 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, pla
|
|||||||
}, { skipSideEffects: true })
|
}, { skipSideEffects: true })
|
||||||
|
|
||||||
const roofs = canvas.getObjects().filter((obj) => obj.roofMaterial?.index === 0)
|
const roofs = canvas.getObjects().filter((obj) => obj.roofMaterial?.index === 0)
|
||||||
const firstRoof = roofs[0]
|
|
||||||
|
|
||||||
if (firstRoof) {
|
roofs.forEach((roof) => {
|
||||||
/** 모양 패턴 설정 */
|
/** 모양 패턴 설정 */
|
||||||
setSurfaceShapePattern(firstRoof, roofDisplay.column, false, { ...roofInfo })
|
setSurfaceShapePattern(roof, roofDisplay.column, false, { ...roofInfo })
|
||||||
firstRoof.roofMaterial = { ...roofInfo }
|
roof.roofMaterial = { ...roofInfo }
|
||||||
drawDirectionArrow(firstRoof)
|
drawDirectionArrow(roof)
|
||||||
setPolygonLinesActualSize(firstRoof, true)
|
setPolygonLinesActualSize(roof, true)
|
||||||
}
|
})
|
||||||
canvas.renderAll()
|
canvas.renderAll()
|
||||||
|
|
||||||
/** 지붕면 존재 여부에 따라 메뉴 설정 */
|
/** 지붕면 존재 여부에 따라 메뉴 설정 */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user