修复板件拷贝后错误的关联原先的排钻

pull/575/head
ChenX 5 years ago
parent 69023edf76
commit 17319fadb4

@ -58,6 +58,8 @@ export class Command_Copy implements Command
for (let en of cloneEns)
{
if (en instanceof Board)
en.DrillList.clear();//由于实体的新建的,所以历史记录会自动保存它的最新快照
en.RestoreJigMaterial();
en.ApplyMatrix(moveM);
}

Loading…
Cancel
Save