improved a number of pointer tool functions and fixed a number of bugs

This commit is contained in:
itsmattkc
2020-01-02 01:30:43 +11:00
parent f65e1e52b5
commit 62e94ca2cb
8 changed files with 216 additions and 56 deletions
+22
View File
@@ -88,4 +88,26 @@ private:
NodeRemoveCommand* remove_command_;
};
class NodeCopyInputsCommand : public QUndoCommand {
public:
NodeCopyInputsCommand(Node* src,
Node* dest,
bool include_connections = true,
QUndoCommand* parent = nullptr);
NodeCopyInputsCommand(Node* src,
Node* dest,
QUndoCommand* parent = nullptr);
virtual void redo() override;
private:
Node* src_;
Node* dest_;
bool include_connections_;
};
#endif // NODEVIEWUNDO_H