From f63ec84d698fad297cfe58c8052d1b13c3e8942c Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Sun, 26 May 2024 19:10:13 +0200 Subject: [PATCH] ToneStackLT -> ToneStack ToneStackLT was removed in 0.9.24. It's an emulation of the tonestack in the 1959 Bassman 5F6-A amp and corresponds to ToneStack model number 0 (defaul). They do differ however but on bass/mid/treble set to all low or all high a pattern upgraded from lmms-1.2 to 1.3 will be identical. --- src/core/DataFile.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/DataFile.cpp b/src/core/DataFile.cpp index 05028de9c29..301ee777fb9 100644 --- a/src/core/DataFile.cpp +++ b/src/core/DataFile.cpp @@ -1808,6 +1808,13 @@ void DataFile::upgrade_1_3_0() }; iterate_ladspa_ports(effect, fn); } + + else if( attribute.attribute( "name" ) == "plugin" && + attribute.attribute( "value" ) == "ToneStackLT" ) + { + attribute.setAttribute( "value", "ToneStack" ); + } + /* SWH */