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 = () => {
|
const applyTemplateA = () => {
|
||||||
|
if (historyPoints.current.length === 0) {
|
||||||
|
changeMode(canvas, Mode.EDIT)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
changeMode(canvas, Mode.EDIT)
|
changeMode(canvas, Mode.EDIT)
|
||||||
const polygon = drawWallPolygon(false)
|
const polygon = drawWallPolygon(false)
|
||||||
// handleClear()
|
// handleClear()
|
||||||
@ -2988,7 +2993,11 @@ export function useMode() {
|
|||||||
* 템플릿 B 적용
|
* 템플릿 B 적용
|
||||||
*/
|
*/
|
||||||
const applyTemplateB = () => {
|
const applyTemplateB = () => {
|
||||||
changeMode(canvas, Mode.EDIT)
|
if (historyPoints.current.length === 0) {
|
||||||
|
changeMode(canvas, Mode.EDIT)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
const polygon = drawWallPolygon(false)
|
const polygon = drawWallPolygon(false)
|
||||||
const params = {
|
const params = {
|
||||||
eaves: 50,
|
eaves: 50,
|
||||||
@ -4266,8 +4275,6 @@ export function useMode() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('templateCenterLine', templateCenterLine)
|
|
||||||
|
|
||||||
if (templateCenterLine.length > 0) {
|
if (templateCenterLine.length > 0) {
|
||||||
//셀이 생성될 지붕의 흐름방향을 정함
|
//셀이 생성될 지붕의 흐름방향을 정함
|
||||||
templateCenterLine.some((centerLine) => {
|
templateCenterLine.some((centerLine) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user