xzw 10 months ago
parent
commit
ec2ebc1748
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/public/static/js/manage.js

+ 1 - 1
scene/public/static/js/manage.js

@@ -2476,7 +2476,7 @@ manage.initMapPanoPos = function(width,height){
     player.model.floors.list.forEach(floor=>{
         bounding.union(floor.conservativeBoundingBox)
     })
-    let boundSize = bounding.getSize(new THREE.Vector3)
+    let boundSize = bounding.size()
     let data = {}
     
     let imgSize = new THREE.Vector2(width,height)