xzw 4 years ago
parent
commit
82c440efaa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/main_2020_edit.js

+ 1 - 1
js/main_2020_edit.js

@@ -3319,7 +3319,7 @@ function o(a, s, l) {
               , i = Math.min(modelSize.x, modelSize.z)
               , n = Math.max(t, i * this.camera.aspect)
               , r = Math.max(i, t * this.camera.aspect);
-            this.absoluteScale = (p.aspectRatio() < 1 ? r : n) / 2 / l.orthoBase * 1.2 
+            var absoluteScale = (p.aspectRatio() < 1 ? r : n) / 2 / l.orthoBase * 1.2 
             return absoluteScale
         },
         n.prototype.rotateToView = function(e, t) {