track: fixed issues from recent rework

This commit is contained in:
itsmattkc
2023-03-02 00:06:35 -08:00
parent 4fda5212dd
commit d71359e914
6 changed files with 44 additions and 28 deletions
+2 -2
View File
@@ -251,13 +251,13 @@ 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(); ) {
/*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, QString(), QString()});
UpdateGraphChangeValue();