index가 잘못들어옴

This commit is contained in:
ysCha 2025-12-18 17:10:30 +09:00
parent aa1e71b91f
commit d58812ef1c

View File

@ -745,10 +745,10 @@ const createInnerLinesFromSkeleton = (roofId, canvas, skeleton, textMode) => {
const movedLines = []
// 조건에 맞는 라인들만 필터링
const validWallLines = wallLines.filter((wallLine, index) => wallLine.idx - 1 === index);
//const validWallLines = wallLines.filter((wallLine, index) => wallLine.idx - 1 === index);
validWallLines.forEach((wallLine, index) => {
wallLines.forEach((wallLine, index) => {
const originalIndex = wallLines.indexOf(wallLine);
const roofLine = sortRoofLines[originalIndex];