xzw 8 mesi fa
parent
commit
b92882e89e
2 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 3 2
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map

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

@@ -42378,6 +42378,7 @@
 	    this.hideArrowUntilUpdate();
 	  }
 	  setPathColor(color) {
+	    if (this.pathColor == color) return;
 	    this.pathColor = color;
 	    this.edge.material.color.set(color);
 	    viewer.dispatchEvent('content_changed');
@@ -42539,7 +42540,7 @@
 	  setEditEnable(state) {
 	    //是否显示可修改控件
 	    this.editEnable = !!state;
-	    this.markers.forEach(e => Potree.Utils.updateVisible(e, 'editEnable', this.enableEdit));
+	    this.markers.forEach(e => Potree.Utils.updateVisible(e, 'editEnable', this.editEnable));
 	  }
 	  setAddOrRemPoint(state) {
 	    //是否可以加减点, 此时不能拖拽marker
@@ -80261,7 +80262,7 @@
 	window.addEventListener('blur',()=>{
 	    console.log('blur',window.winIndex)
 	}) */
-	Cache.enabled = true; //这样不会重复网络请求相同的图 
+	Cache.enabled = true; //这样不会重复网络请求相同的图(如热点换图)。
 
 	class Viewer$1 extends ViewerBase {
 	  constructor(domElement, mapArea_) {

File diff suppressed because it is too large
+ 1 - 1
public/lib/potree/potree.js.map