변별로 설정중 한쪽흐름일 경우 한쪽흐름의 pitch로 설정
This commit is contained in:
parent
789ac9f650
commit
5db20681ee
@ -186,7 +186,7 @@ export function useRoofShapeSetting(id) {
|
|||||||
case 4: {
|
case 4: {
|
||||||
outerLines = canvas.getObjects().filter((obj) => obj.name === 'outerLine')
|
outerLines = canvas.getObjects().filter((obj) => obj.name === 'outerLine')
|
||||||
const pitch = outerLines.find((line) => line.attributes.type === LINE_TYPE.WALLLINE.SHED)?.attributes.pitch
|
const pitch = outerLines.find((line) => line.attributes.type === LINE_TYPE.WALLLINE.SHED)?.attributes.pitch
|
||||||
// 한쪽흐름일 경우 한쪽흐름의 pitch로 설정
|
// 변별로 설정중 한쪽흐름일 경우 한쪽흐름의 pitch로 설정
|
||||||
if (pitch) {
|
if (pitch) {
|
||||||
outerLines.forEach((line) => {
|
outerLines.forEach((line) => {
|
||||||
if (line.attributes.type === LINE_TYPE.WALLLINE.EAVES) {
|
if (line.attributes.type === LINE_TYPE.WALLLINE.EAVES) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user