This commit is contained in:
changkyu choi 2025-01-02 11:36:24 +09:00
commit 5a69e0f955

View File

@ -108,6 +108,14 @@ export function useRoofAllocationSetting(id) {
// 지붕재 오른쪽 마우스 클릭 후 단일로 지붕재 변경 필요한 경우
const handleSaveContext = () => {
setBasicSetting((prev) => {
return {
...prev,
selectedRoofMaterial: currentRoofList.find((roof) => roof.selected),
}
})
setRoofList(currentRoofList)
const selectedRoofMaterial = currentRoofList.find((roof) => roof.selected)
setSurfaceShapePattern(currentObject, roofDisplay.column, false, selectedRoofMaterial)
closeAll()