|
@@ -50619,8 +50619,13 @@
|
|
|
this.setLineHeight(newLength);
|
|
|
this.dispatchEvent('dragLineLen');
|
|
|
}
|
|
|
+ reDraw() {
|
|
|
+ this.pauseUpdateEdge = true;
|
|
|
+ super.reDraw();
|
|
|
+ this.pauseUpdateEdge = false;
|
|
|
+ }
|
|
|
updateEdge() {
|
|
|
- if (this.lastUpdatePoints_ && Potree.Common.ifSame(this.lastUpdatePoints_, this.points) && this.halfPathWidth == this.lastHalfPathWidth) return; //没变 不更新
|
|
|
+ if (this.pauseUpdateEdge || this.lastUpdatePoints_ && Potree.Common.ifSame(this.lastUpdatePoints_, this.points) && this.halfPathWidth == this.lastHalfPathWidth) return; //没变 不更新
|
|
|
//this.edge.geometry = MeshDraw.getExtrudeGeo(edgeExtrudePoints, null, {extrudePath: this.points, openEnded:true, shapeDontClose:true/* , dontSmooth:true, steps: this.points.length-1 */})
|
|
|
//getExtrudeGeo是平滑过的曲线,和设计不一样,且容易翻转,转角有时候细分过少
|
|
|
|
|
@@ -51293,7 +51298,7 @@
|
|
|
}
|
|
|
Path$1.prototype.cloneMarker = Measure$1.prototype.cloneMarker;
|
|
|
Path$1.prototype.updateDatasetBelong = Measure$1.prototype.updateDatasetBelong;
|
|
|
- Path$1.prototype.reDraw = Measure$1.prototype.reDraw;
|
|
|
+ //Path.prototype.reDraw = Measure.prototype.reDraw
|
|
|
/*
|
|
|
没有intersect的点的dataset_point怎么赋值
|
|
|
|