|
@@ -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_) {
|