This commit breaks generic GUIs for many LV2 plugins.
Revert "Add checks for supported variant types"
This reverts commit 00ed7c81d3
.
This commit is contained in:
parent
9038be49d8
commit
8b5533478f
|
@ -702,13 +702,6 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param,
|
|||
return control_ui;
|
||||
}
|
||||
|
||||
if (desc.datatype != Variant::INT && desc.datatype != Variant::LONG &&
|
||||
desc.datatype != Variant::FLOAT && desc.datatype != Variant::DOUBLE &&
|
||||
desc.datatype != Variant::BOOL) {
|
||||
/* unsupported variant type */
|
||||
return control_ui;
|
||||
}
|
||||
|
||||
assert(mcontrol);
|
||||
|
||||
/* See if there any named values for our input value */
|
||||
|
@ -871,13 +864,6 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param,
|
|||
|
||||
} else {
|
||||
|
||||
if (desc.datatype != Variant::INT && desc.datatype != Variant::LONG &&
|
||||
desc.datatype != Variant::FLOAT && desc.datatype != Variant::DOUBLE &&
|
||||
desc.datatype != Variant::BOOL) {
|
||||
/* unsupported variant type */
|
||||
return control_ui;
|
||||
}
|
||||
|
||||
control_ui->display = manage (new EventBox);
|
||||
control_ui->display->set_name ("ParameterValueDisplay");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user