浏览代码

fix: marker basicMat 透明错误

xzw 4 月之前
父节点
当前提交
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;