nodes: revert to single output

This commit is contained in:
itsmattkc
2021-09-07 22:01:36 -07:00
parent 9843fd47f0
commit b07bccb7dc
89 changed files with 511 additions and 616 deletions
+2 -2
View File
@@ -29,9 +29,9 @@ namespace olive {
void XMLConnectNodes(const XMLNodeData &xml_node_data, MultiUndoCommand *command)
{
foreach (const XMLNodeData::SerializedConnection& con, xml_node_data.desired_connections) {
NodeOutput out(xml_node_data.node_ptrs.value(con.output_node), con.output);
Node *out = xml_node_data.node_ptrs.value(con.output_node);
if (out.IsValid()) {
if (out) {
if (command) {
command->add_child(new NodeEdgeAddCommand(out, con.input));
} else {
-1
View File
@@ -39,7 +39,6 @@ struct XMLNodeData {
struct SerializedConnection {
NodeInput input;
quintptr output_node;
QString output;
};
struct BlockLink {