mirror of
https://github.com/leozide/leocad
synced 2025-02-05 08:45:55 +01:00
Select pasted pieces.
This commit is contained in:
parent
cc36ecd5a1
commit
e358dc7ddd
1 changed files with 4 additions and 0 deletions
|
@ -873,9 +873,13 @@ void lcModel::Paste()
|
|||
Buffer.open(QIODevice::ReadOnly);
|
||||
Model->LoadLDraw(Buffer);
|
||||
|
||||
lcArray<lcPiece*> PastedPieces = Model->mPieces;
|
||||
|
||||
Merge(Model);
|
||||
SaveCheckpoint(tr("Pasting"));
|
||||
|
||||
SetSelection((lcArray<lcObject*>&)PastedPieces);
|
||||
|
||||
CalculateStep(mCurrentStep);
|
||||
gMainWindow->UpdateAllViews();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue