1
0
Fork 0

Fix parent finding in VST3 unit transformation

Oops.
This commit is contained in:
Robbert van der Helm 2022-03-16 22:01:29 +01:00
parent d9e943a88d
commit edb492932f

View file

@ -97,7 +97,7 @@ impl ParamUnits {
// We'll do an index-based loop with some clones because here it doesn't matter much for // We'll do an index-based loop with some clones because here it doesn't matter much for
// performance anyways and otherwise it's a bit difficult to keep the borrow checker // performance anyways and otherwise it's a bit difficult to keep the borrow checker
// happy ehre // happy ehre
let group_name = groups_units[0].0; let group_name = groups_units[unit_id].0;
// If the group name does not contain any slashes then the unit's parent should stay at // If the group name does not contain any slashes then the unit's parent should stay at
// the root unit // the root unit