Merge branch 'dev' of https://git.jetbrains.space/nalpari/q-cast-iii/qcast-front into dev
This commit is contained in:
commit
c51b54e316
@ -1542,6 +1542,11 @@ export function useMode() {
|
||||
}
|
||||
|
||||
const applyTemplateA = () => {
|
||||
if (historyPoints.current.length === 0) {
|
||||
changeMode(canvas, Mode.EDIT)
|
||||
return
|
||||
}
|
||||
|
||||
changeMode(canvas, Mode.EDIT)
|
||||
const polygon = drawWallPolygon(false)
|
||||
// handleClear()
|
||||
@ -2988,7 +2993,11 @@ export function useMode() {
|
||||
* 템플릿 B 적용
|
||||
*/
|
||||
const applyTemplateB = () => {
|
||||
changeMode(canvas, Mode.EDIT)
|
||||
if (historyPoints.current.length === 0) {
|
||||
changeMode(canvas, Mode.EDIT)
|
||||
return
|
||||
}
|
||||
|
||||
const polygon = drawWallPolygon(false)
|
||||
const params = {
|
||||
eaves: 50,
|
||||
@ -4266,8 +4275,6 @@ export function useMode() {
|
||||
}
|
||||
}
|
||||
|
||||
console.log('templateCenterLine', templateCenterLine)
|
||||
|
||||
if (templateCenterLine.length > 0) {
|
||||
//셀이 생성될 지붕의 흐름방향을 정함
|
||||
templateCenterLine.some((centerLine) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user