Selaa lähdekoodia

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

xzw 4 vuotta sitten
vanhempi
commit
17a2c6200c
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  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