diff --git a/src/DatabaseServices/Entity/Board.ts b/src/DatabaseServices/Entity/Board.ts index 6c37fae87..7883f1f57 100644 --- a/src/DatabaseServices/Entity/Board.ts +++ b/src/DatabaseServices/Entity/Board.ts @@ -39,6 +39,7 @@ import { Factory } from '../CADFactory'; import { CADFiler } from '../CADFiler'; import { Contour } from '../Contour'; import { HardwareCompositeEntity } from '../Hardware/HardwareCompositeEntity'; +import { HistorycRecord } from '../HistorycRecord'; import { ObjectId } from '../ObjectId'; import { Shape } from '../Shape'; import { Text as DbText, TextAligen } from "../Text/Text"; @@ -2486,7 +2487,14 @@ export class Board extends ExtrudeSolid MoveStretchPoints(indexList: Array, vec: Vector3) { - if (indexList.length === 0) return; + if (indexList.length === 0) + { + let undoData = this.UndoRecord(); + if (undoData) + undoData.WriteObjectHistoryPath(this, new HistorycRecord); + return; + } + if (this._SweepPath) { if (false)