Compare commits

..

No commits in common. "7fcaaece538f6638b3be1e35798f02253a16dc55" and "5597f8ad70dbbaeeffc8a16c216df6a04fb83159" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -1129,7 +1129,7 @@ export function useSurfaceShapeBatch({ isHidden, setIsHidden }) {
//정렬된 폴리곤이 아니면(대각선이 존재하는 폴리곤일때)
if (!polygon.isSortedPoints) {
//좌우 반전을 했으면 반대로 정의함
if (isYInversion || isXInversion) {
if (isYInversion) {
polygon.lines.forEach((line) => {
if (line.attributes.type === LINE_TYPE.WALLLINE.EAVES) {
line.attributes.type = LINE_TYPE.SUBLINE.RIDGE

View File

@ -176,10 +176,6 @@ export const usePolygon = () => {
* @param showDirectionText
*/
const drawDirectionArrow = (polygon, showDirectionText = true) => {
if (!polygon) {
return
}
if (polygon.points.length < 3) {
return
}