dev #930

Merged
ysCha merged 95 commits from dev into dev-deploy 2026-06-23 18:00:25 +09:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 9de3424cdf - Show all commits

View File

@ -227,6 +227,11 @@ export const SAVE_KEY = [
'outerLineFix',
'adjustRoofLines',
'northModuleYn',
// SK 빌드 시 hip 이 ext 끝점까지 연장된 상태임을 표시.
// undo/redo 시 보존되어야 integrateExtensionLines 가 중복 merge 를 스킵할 수 있다.
// (없으면 undo 후 지붕면 할당 시 hip 이 다시 merge 되어 corner 가 inner mesh 와 분리되며
// path-finding 이 실패 → 4 면 분할 안 됨)
'__extended',
]
export const OBJECT_PROTOTYPE = [fabric.Line.prototype, fabric.Polygon.prototype, fabric.Triangle.prototype, fabric.Group.prototype]

View File

@ -309,7 +309,7 @@ export function useUndoRedo() {
const rebuildCanvasAtoms = useCallback(() => {
if (!canvas) return
// 먼저 오브젝트 간 참조 관계 재구축
// 먼저 오브젝트 간 참조 관계 재구축 (roof.innerLines 등)
rebuildObjectGraph()
const objects = canvas.getObjects()