fixes #ITYG4

pull/275/head
Zoe 6 years ago
parent fbdd0fd33a
commit a6a85a7374

@ -55,14 +55,14 @@ export class MirrorCommand implements Command
return;
let kwRes = await app.m_Editor.GetKeyWords({
Msg: "是否删除源对象",
Msg: "是否保留源对象",
KeyWordList: [{ msg: "是", key: "Y" }, { msg: "否", key: "N" }]
});
if (kwRes.Status === PromptStatus.Cancel)
return;
JigUtils.End();
if (kwRes.StringResult === "Y")
if (kwRes.StringResult === "N")
ens.forEach(en => en.Erase());
cloneEns.forEach(en => app.m_Database.ModelSpace.Append(en));
}

Loading…
Cancel
Save