commit 6716027c3383740f93a6ca7bc610c6f7c7e4a9b7
parent 5aaabbf397e27af851f6e7f707c62058c4017610
Author: Keith Bloemer <32459398+GuitarML@users.noreply.github.com>
Date: Mon, 7 Nov 2022 10:11:01 -0600
Update PluginProcessor.cpp
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/PluginProcessor.cpp b/src/PluginProcessor.cpp
@@ -33,10 +33,6 @@ ProteusAudioProcessor::ProteusAudioProcessor()
masterParam = treeState.getRawParameterValue (MASTER_ID);
pauseVolume = 3;
-
- // Check if this works to load without GUI -> This doesnt work
- //if (auto* editor = dynamic_cast<ProteusAudioProcessorEditor*> (getActiveEditor()))
- // editor->loadFromFolder();
}
ProteusAudioProcessor::~ProteusAudioProcessor()
@@ -286,17 +282,13 @@ void ProteusAudioProcessor::setStateInformation (const void* data, int sizeInByt
fw_state = xmlState->getBoolAttribute ("fw_state");
File temp_saved_model = xmlState->getStringAttribute("saved_model");
saved_model = temp_saved_model;
- //saved_model = xmlState->getStringAttribute("saved_model");
current_model_index = xmlState->getIntAttribute("current_model_index");
File temp = xmlState->getStringAttribute("folder");
folder = temp;
if (auto* editor = dynamic_cast<ProteusAudioProcessorEditor*> (getActiveEditor()))
editor->resetImages();
- //if (auto* editor = dynamic_cast<ProteusAudioProcessorEditor*> (getActiveEditor()))
- // editor->loadFromFolder();
- //if (isValidFormat(saved_model)) {
if (saved_model.existsAsFile()) {
loadConfig(saved_model);
}