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 -7
View File
@@ -26,7 +26,7 @@ void NodeInputArray::Prepend()
InsertAt(0);
}
void NodeInputArray::SetSize(int size, bool lock)
void NodeInputArray::SetSize(int size)
{
int old_size = GetSize();
@@ -42,9 +42,6 @@ void NodeInputArray::SetSize(int size, bool lock)
}
}
if (lock)
parentNode()->LockUserInput();
sub_params_.resize(size);
if (size > old_size) {
@@ -65,9 +62,6 @@ void NodeInputArray::SetSize(int size, bool lock)
}
}
if (lock)
parentNode()->UnlockUserInput();
emit SizeChanged(size);
}