mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-23 15:03:47 +00:00
CSelectAllCommand: Make use of push_back over operator<<
This commit is contained in:
parent
46e0b40908
commit
21f66aa786
@ -19,9 +19,9 @@ public:
|
||||
, mpSelection(pSelection)
|
||||
{
|
||||
for (CSelectionIterator It(pSelection); It; ++It)
|
||||
mOldSelection << *It;
|
||||
mOldSelection.push_back(*It);
|
||||
for (CSceneIterator It(pScene, NodeFlags); It; ++It)
|
||||
mNewSelection << *It;
|
||||
mNewSelection.push_back(*It);
|
||||
}
|
||||
|
||||
void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user