Forráskód Böngészése

fix: marker basicMat 透明错误

xzw 4 hónapja
szülő
commit
488e8a4b07
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      public/lib/potree/potree.js

+ 1 - 2
public/lib/potree/potree.js

@@ -25555,8 +25555,7 @@
 	    return this;
 	  }
 	  set opacity(o) {
-	    this.uniforms && (this.uniforms.opacity.value = o);
-	    this.transparent = o < 1;
+	    this.uniforms && (this.uniforms.opacity.value = o); 
 	  }
 	  get opacity() {
 	    return this.uniforms.opacity.value;