- console.log 제거
This commit is contained in:
parent
312a34bd0b
commit
ee913ee782
@ -236,7 +236,6 @@ export default function PlacementSurfaceSetting({ id, pos = { x: 50, y: 230 } })
|
||||
surfaceRefs.yInversion = yInversion //상하반전
|
||||
surfaceRefs.rotate = rotate * 90 //앵글
|
||||
setIsHidden(true)
|
||||
console.log('surfaceRefs', surfaceRefs)
|
||||
applySurfaceShape(surfaceRefs, selectedType, id)
|
||||
}
|
||||
|
||||
|
||||
@ -85,9 +85,6 @@ export function useSurfaceShapeBatch({ isHidden, setIsHidden }) {
|
||||
canvas?.remove(...canvas?.getObjects().filter((obj) => obj.name === MENU.BATCH_CANVAS.SURFACE_SHAPE_BATCH_TEMP))
|
||||
points = getSurfaceShape(surfaceId, pointer, { length1, length2, length3, length4, length5 })
|
||||
|
||||
console.log('surfaceRefs.xInversion', surfaceRefs.xInversion)
|
||||
console.log('surfaceRefs.yInversion', surfaceRefs.yInversion)
|
||||
console.log('surfaceRefs.rotate', surfaceRefs.rotate)
|
||||
const { xInversion, yInversion, rotate } = surfaceRefs
|
||||
const options = {
|
||||
fill: 'transparent',
|
||||
@ -102,9 +99,9 @@ export function useSurfaceShapeBatch({ isHidden, setIsHidden }) {
|
||||
lockScalingX: true, // X 축 크기 조정 잠금
|
||||
lockScalingY: true, // Y 축 크기 조정 잠금
|
||||
name: MENU.BATCH_CANVAS.SURFACE_SHAPE_BATCH_TEMP,
|
||||
flipX: xInversion !== yInversion ? surfaceRefs.yInversion : false,
|
||||
flipY: xInversion !== yInversion ? surfaceRefs.xInversion : false,
|
||||
angle: xInversion && yInversion ? Math.abs((surfaceRefs.rotate + 180) % 360) : Math.abs(surfaceRefs.rotate),
|
||||
flipX: xInversion !== yInversion ? yInversion : false,
|
||||
flipY: xInversion !== yInversion ? xInversion : false,
|
||||
angle: xInversion && yInversion ? Math.abs((rotate + 180) % 360) : Math.abs(rotate),
|
||||
originX: 'center',
|
||||
originY: 'center',
|
||||
pitch: globalPitch,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user