Messy attempt to make the spectral module enabled parameters be tied to particular modules, this needs to be seriously examined...

This commit is contained in:
xenakios
2018-04-26 21:45:37 +03:00
parent 40fcc1bdb0
commit cd15a0ea48
4 changed files with 24 additions and 17 deletions

View File

@ -486,6 +486,8 @@ public:
inline void swapSpectrumProcesses(SpectrumProcess& a, SpectrumProcess& b)
{
std::swap(a, b);
return;
bool aenab = *b.m_enabled;
bool benab = *a.m_enabled;
std::swap(a.m_index, b.m_index);