修复:拉伸板时,如果没选中任何夹点,不能触发排钻反应器

pull/2816/MERGE
ChenX 4 months ago
parent cb82189af5
commit e2f203cec6

@ -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<number>, 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)

Loading…
Cancel
Save