new undo system

Also enables undoing when working with node input arrays
This commit is contained in:
itsmattkc
2021-01-29 16:10:34 +11:00
parent 4e5db91c17
commit ad4b83a098
69 changed files with 1218 additions and 837 deletions
+2 -2
View File
@@ -21,10 +21,10 @@
#ifndef XMLREADLOOP_H
#define XMLREADLOOP_H
#include <QUndoCommand>
#include <QXmlStreamReader>
#include "project/item/footage/stream.h"
#include "undo/undocommand.h"
namespace olive {
@@ -63,7 +63,7 @@ struct XMLNodeData {
};
void XMLConnectNodes(const XMLNodeData& xml_node_data, QUndoCommand* command = nullptr);
void XMLConnectNodes(const XMLNodeData& xml_node_data, MultiUndoCommand *command = nullptr);
bool XMLReadNextStartElement(QXmlStreamReader* reader);