Преглед изворни кода

fix: marker basicMat 透明错误

xzw пре 5 месеци
родитељ
комит
488e8a4b07
1 измењених фајлова са 1 додато и 2 уклоњено
  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;