소스 검색

Avoid auto-fitting if there are zero entities in the world

master
Fen Dweller 5 년 전
부모
커밋
3d8715b9bb
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      macrovision.js

+ 4
- 1
macrovision.js 파일 보기

@@ -3540,7 +3540,10 @@ function checkFitWorld() {
}

function fitWorld(manual = false, factor = 1.1) {
fitEntities(entities, factor);
if (Object.keys(entities).length > 0) {
fitEntities(entities, factor);
}
}

function fitEntities(targetEntities, manual = false, factor = 1.1) {


불러오는 중...
취소
저장