Generate new uuid for a piece duplicate.
This commit is contained in:
parent
435122de92
commit
d8c1c8e4d4
|
@ -204,6 +204,7 @@ VToolSeamAllowance *VToolSeamAllowance::Duplicate(VToolSeamAllowanceInitData &in
|
|||
dupDetail.SetInternalPaths(DuplicateInternalPaths(initData.detail.GetInternalPaths(), initData));
|
||||
dupDetail.SetPins(DuplicatePins(initData.detail.GetPins(), initData));
|
||||
dupDetail.SetPlaceLabels(DuplicatePlaceLabels(initData.detail.GetPlaceLabels(), initData));
|
||||
dupDetail.SetUUID(QUuid::createUuid());
|
||||
|
||||
initData.detail = dupDetail;
|
||||
return VToolSeamAllowance::Create(initData);
|
||||
|
|
Loading…
Reference in New Issue
Block a user