Browse Source

去掉热点visible设置 防止卡顿

xzw 3 years ago
parent
commit
a51adf92a9
1 changed files with 13 additions and 3 deletions
  1. 13 3
      public/static/js/main_2020_show.js

+ 13 - 3
public/static/js/main_2020_show.js

@@ -18927,7 +18927,7 @@ window.Modernizr = function(n, e, t) {
                     this.tags[t].build();
                 
                 //add----- 
-                { 
+                /* { 
                     let maxCount = browser.isMobile() ? 4000 : 10000
                     
                     let c = this.panos.list.length * this.colliders.length
@@ -18951,7 +18951,7 @@ window.Modernizr = function(n, e, t) {
                     } 
 
                     
-                }
+                } */
                 //---------   
                 createGuideAni(this)
                 
@@ -59343,6 +59343,16 @@ function initTransitionPass(THREE){
    
     导览缩放的几处: 1 搜索smoothZoomFovTo  2 flightStepWalk里
    
-   
+   var id = 73
+var p = player.model.heroLocations.find(e=>e.heroLocations && e.heroLocations.find(e=>e.panoId == id))
+var i = player.model.heroLocations.indexOf(p)
+var p1 = p.heroLocations.find(e=>e.panoId == id)
+var j = p.heroLocations.indexOf(p1)
+
+
+
+player.flyToPano({pano:player.model.panos.index[73]})
+
+player.director.goToHighlight([i,j])
 
  */