successfully transmit block map

Requires a binary data type, which requires a new project serializer
This commit is contained in:
itsmattkc
2023-02-20 14:56:04 -08:00
parent 43f1be9c06
commit ffec819eef
16 changed files with 1611 additions and 501 deletions
+8
View File
@@ -238,6 +238,14 @@ void ProjectCopier::QueueEdgeRemove(Node *output, const NodeInput &input)
void ProjectCopier::QueueValueChange(const NodeInput &input)
{
for (auto it = graph_update_queue_.begin(); it != graph_update_queue_.end(); ) {
if (it->type == QueuedJob::kValueChanged && it->input == input) {
it = graph_update_queue_.erase(it);
} else {
it++;
}
}
graph_update_queue_.push_back({QueuedJob::kValueChanged, nullptr, input, nullptr});
UpdateGraphChangeValue();
}