|
@@ -4,6 +4,7 @@ import { dataService } from "./DataService.js";
|
|
|
import VectorCategory from "../enum/VectorCategory.js";
|
|
|
import { mathUtil } from "../Util/MathUtil.js";
|
|
|
import { lineService } from "./LineService.js";
|
|
|
+import { uiService } from "./UIService.js";
|
|
|
import Settings from "../Settings.js";
|
|
|
export default class PointService {
|
|
|
constructor() {}
|
|
@@ -92,6 +93,9 @@ export default class PointService {
|
|
|
let parent = normalPoint.getParent();
|
|
|
for (let key in parent) {
|
|
|
dataService.deleteLine(key);
|
|
|
+ if (Settings.baseLineId == key) {
|
|
|
+ uiService.setBaseLineId(null);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|