Explorar o código

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

xzw %!s(int64=4) %!d(string=hai) anos
pai
achega
17a2c6200c
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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