nodeparamviewwidgetbridge: fixed array index out of bounds

This commit is contained in:
itsmattkc
2020-05-06 17:47:42 +10:00
parent 530aae00b8
commit 4d85987b71
@@ -423,6 +423,10 @@ void NodeParamViewWidgetBridge::CreateSliders(int count)
void NodeParamViewWidgetBridge::UpdateWidgetValues()
{
if (input_->IsArray()) {
return;
}
rational node_time = GetCurrentTimeAsNodeTime();
// We assume the first data type is the "primary" type