|
@@ -18,8 +18,10 @@ export default class AddPoint {
|
|
|
}
|
|
|
|
|
|
buildPoint(position) {
|
|
|
+
|
|
|
if ((Settings.selectLocationMode == Constant.angleLocationMode || Settings.selectLocationMode == Constant.allLocationMode) && Settings.basePointIds.length == 1) {
|
|
|
Settings.selectBasePointId = Settings.basePointIds[0];
|
|
|
+ console.error(Settings.basePointIds.length)
|
|
|
}
|
|
|
let newPoint;
|
|
|
if (Settings.selectPointCategory == VectorCategory.Point.BasePoint) {
|
|
@@ -51,7 +53,6 @@ export default class AddPoint {
|
|
|
newPoint.getCategory() == VectorCategory.Point.TestPoint
|
|
|
) {
|
|
|
this.testPointIds.push(newPoint.vectorId);
|
|
|
- console.error(this.testPointIds)
|
|
|
}
|
|
|
}
|
|
|
listenLayer.clear();
|