From 0859d8cdb40e6ff92ec8cff13dac1805071852d2 Mon Sep 17 00:00:00 2001 From: xenakios Date: Mon, 7 May 2018 15:51:50 +0300 Subject: [PATCH] Remove useless code. Read me change. --- Source/PluginEditor.cpp | 13 ------------- readme.txt | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 7622833..78891a5 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -1003,20 +1003,7 @@ void SpectralChainEditor::mouseDown(const MouseEvent & ev) juce::Rectangle r(box_w*m_cur_index, 1, 12, 12); if (r.contains(ev.x, ev.y)) { - for (int i = 0; i < m_order.size(); ++i) - { - if (m_order[i].m_index == m_cur_index) - { - //Logger::writeToLog("SpectralChainEditor::mouseDown "+m_order[i].m_enabled->name); - - //return; - } - } toggleBool(m_order[m_cur_index].m_enabled); - Logger::writeToLog("SpectralChainEditor::mouseDown " + m_order[m_cur_index].m_enabled->name); - //m_src->setSpectrumProcessOrder(m_order); - //if (ModuleOrderOrEnabledChangedCallback) - // ModuleOrderOrEnabledChangedCallback(); repaint(); return; } diff --git a/readme.txt b/readme.txt index 3fc45bc..6e7705f 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ Copyright (C) 2017-2018 Xenakios Released under GNU General Public License v.2 license. History : -05-03-2018 1.2.0 +05-07-2018 1.2.0 -Changed "Octaves" module to "Ratios". The Ratios module has more shifters than the previous Octaves module and allows changing the pitch ratios (and the shifters mix) in a separate tabbed page in the GUI.