Deserialize should now work
This commit is contained in:
parent
81882b9ecb
commit
d898b54ea7
@ -274,7 +274,8 @@ void PaulstretchpluginAudioProcessor::setStateFromTree(ValueTree tree)
|
||||
{
|
||||
for (int i = 0; i < ordersize; ++i)
|
||||
{
|
||||
new_order.push_back({ (int)tree.getProperty("specorderb" + String(i)), old_order[i].m_enabled });
|
||||
int index = tree.getProperty("specorderb" + String(i));
|
||||
new_order.push_back({ index, old_order[index].m_enabled });
|
||||
}
|
||||
m_stretch_source->setSpectrumProcessOrder(new_order);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user