소스 검색

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;