!441 fix #I100IQ 暂时屏蔽掉板件镜像

pull/441/MERGE
ZoeLeeFZ 5 years ago committed by ChenX
parent 2b79ae8cde
commit ae00e9e695

@ -5,6 +5,7 @@ import { JigUtils } from "../Editor/JigUtils";
import { PromptStatus } from "../Editor/PromptResult"; import { PromptStatus } from "../Editor/PromptResult";
import { MoveMatrix } from "../Geometry/GeUtils"; import { MoveMatrix } from "../Geometry/GeUtils";
import { GetMirrorMat } from "../Common/Matrix4Utils"; import { GetMirrorMat } from "../Common/Matrix4Utils";
import { Curve } from "../DatabaseServices/Entity/Curve";
export class MirrorCommand implements Command export class MirrorCommand implements Command
@ -12,7 +13,8 @@ export class MirrorCommand implements Command
async exec() async exec()
{ {
let enRes = await app.Editor.GetSelection({ let enRes = await app.Editor.GetSelection({
Msg: "选择对象", UseSelect: true Msg: "选择对象(暂仅支持曲线)", UseSelect: true,
Filter: { filterTypes: [Curve] }
}); });
if (enRes.Status === PromptStatus.Cancel) if (enRes.Status === PromptStatus.Cancel)
return; return;

Loading…
Cancel
Save