xzw 1 год назад
Родитель
Сommit
9fbf99cdee
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      scene/public/static/js/main_2020_show.js

+ 6 - 6
scene/public/static/js/main_2020_show.js

@@ -22861,10 +22861,8 @@ window.Modernizr = function(n, e, t) {
                 if(this.model.hotGroup){
                     
                     var hots = this.model.hotGroup.children.filter(e=> e.info.actionType.examine || e.info.actionType.fastTran || e.info.actionType.openHot || e.info.actionType.playAndPause)
-                   
-                   
-                     
-                    this.intersect = this.getMouseIntersect(null, hots.concat(this.model.colliders));
+                    
+                    this.intersect = this.getMouseIntersect(null, hots.concat(this.model.colliders).concat(this.model.skybox));
                     if(this.intersect){
                         deal()
                         let intersect = this.intersect
@@ -22877,11 +22875,13 @@ window.Modernizr = function(n, e, t) {
                             } 
                         }  
                     }
-                }   
+                }else{
+                    this.intersect = this.getMouseIntersect() 
+                }     
             
                 
                 
-                this.intersect = this.getMouseIntersect(),
+              
                 this.intersect && this.updateClosestPano(this.intersect),
                 this.closestPano || this.closestPanoInDirection(this.getMouseDirection()) ? (this.reticule.updatePosition(this.position, this.intersect),
                 f.navigation.panoScores && !f.navigation.mouseDirection && this.closestPanoInDirection(this.getDirection())) : this.reticule.hide()