nodes: remove user input mutexes

These were no longer ever used and thus served no purpose.
This commit is contained in:
itsmattkc
2020-02-03 01:27:00 +11:00
parent 9b7cbb3fbd
commit 110b5741e0
8 changed files with 11 additions and 58 deletions
+1 -11
View File
@@ -220,16 +220,6 @@ QString Node::ReadFileAsString(const QString &filename)
return file_data;
}
void Node::LockUserInput()
{
user_input_lock_.lock();
}
void Node::UnlockUserInput()
{
user_input_lock_.unlock();
}
void Node::CopyInputs(Node *source, Node *destination, bool include_connections)
{
Q_ASSERT(source->id() == destination->id());
@@ -245,7 +235,7 @@ void Node::CopyInputs(Node *source, Node *destination, bool include_connections)
NodeInput* dst = static_cast<NodeInput*>(dst_param.at(i));
NodeInput::CopyValues(src, dst, include_connections, true);
NodeInput::CopyValues(src, dst, include_connections);
}
}
}