Просмотр исходного кода

(澳门革命油画)点击点位无法切换点位

xzw 4 лет назад
Родитель
Сommit
17a2c6200c
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      public/SuperTwo/js/main_2020_show.js

+ 5 - 1
public/SuperTwo/js/main_2020_show.js

@@ -22944,7 +22944,11 @@ window.Modernizr = function(n, e, t) {
 				for(var i in this.model.hots){
 					t.push(this.model.hots[i].mesh);
 				}
-                this.overlayGroup && (t = t.concat(this.overlayGroup.children));   
+                //this.overlayGroup && (t = t.concat(this.overlayGroup.children));   
+                
+                this.overlayGroup && (t = t.concat(this.overlayGroup.children.filter(e=>e.overlayType == "video"))); 
+
+                
                 var i = new r.Vector3(e.x,e.y,-1).unproject(this.camera);
                 this.raycaster.set(i, this.getMouseDirection(e)); 
                 var n = this.raycaster.intersectObjects(t, true);//add true