CSelectAllCommand: Make use of push_back over operator<<
This commit is contained in:
parent
46e0b40908
commit
21f66aa786
|
@ -19,9 +19,9 @@ public:
|
||||||
, mpSelection(pSelection)
|
, mpSelection(pSelection)
|
||||||
{
|
{
|
||||||
for (CSelectionIterator It(pSelection); It; ++It)
|
for (CSelectionIterator It(pSelection); It; ++It)
|
||||||
mOldSelection << *It;
|
mOldSelection.push_back(*It);
|
||||||
for (CSceneIterator It(pScene, NodeFlags); It; ++It)
|
for (CSceneIterator It(pScene, NodeFlags); It; ++It)
|
||||||
mNewSelection << *It;
|
mNewSelection.push_back(*It);
|
||||||
}
|
}
|
||||||
|
|
||||||
void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }
|
void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }
|
||||||
|
|
Loading…
Reference in New Issue