nodes: remove user input mutexes
These were no longer ever used and thus served no purpose.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user