dev #930
@ -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]
|
||||
|
||||
@ -309,7 +309,7 @@ export function useUndoRedo() {
|
||||
const rebuildCanvasAtoms = useCallback(() => {
|
||||
if (!canvas) return
|
||||
|
||||
// 먼저 오브젝트 간 참조 관계 재구축
|
||||
// 먼저 오브젝트 간 참조 관계 재구축 (roof.innerLines 등)
|
||||
rebuildObjectGraph()
|
||||
|
||||
const objects = canvas.getObjects()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user