Browse Source

Deserialize should now work

tags/1.2.0
xenakios 7 years ago
parent
commit
d898b54ea7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Source/PluginProcessor.cpp

+ 2
- 1
Source/PluginProcessor.cpp View File

@@ -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…
Cancel
Save