work towards group editor

This commit is contained in:
itsmattkc
2021-12-27 15:16:49 -08:00
parent a8ac7edd51
commit 5223483e8e
23 changed files with 500 additions and 267 deletions
-11
View File
@@ -58,17 +58,6 @@ void NodeViewScene::DeselectAll()
}
}
void NodeViewScene::DeleteSelected()
{
NodeViewDeleteCommand* command = new NodeViewDeleteCommand();
foreach (NodeViewContext *ctx, context_map_) {
ctx->DeleteSelected(command);
}
Core::instance()->undo_stack()->push(command);
}
QVector<NodeViewItem *> NodeViewScene::GetSelectedItems() const
{
QVector<NodeViewItem *> items;