-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Kicker plugin] Automation connection of a particular knob is not restored when reopening a project #6797
Comments
I can verify this. It is my understanding that this is a problem on loading. I believe it could have been introduced in #727 available in 1.1.0-RC4. I couldn't test that unfortunately since I would need an older platform for this. Here is the code that fails: lmms/plugins/Kicker/Kicker.cpp Lines 117 to 124 in bc99728
If I instead test for the version of the plugin the loading succeeds (Quickfix below). The version number is 1 and this is defined in Kicker.h. It's not literally the same thing as testing for "distend" but pretty much. Version number 1 predates "distend". I was thinking possibly moving this code to DataFile.cpp and do a proper upgrade but that's not possible if hasAttribute("distend") doesn't work. Quickfix: diff --git a/plugins/Kicker/Kicker.cpp b/plugins/Kicker/Kicker.cpp
index 7d4c6fbb0..658479193 100644
--- a/plugins/Kicker/Kicker.cpp
+++ b/plugins/Kicker/Kicker.cpp
@@ -114,14 +114,19 @@ void KickerInstrument::loadSettings( const QDomElement & _this )
m_endFreqModel.loadSettings( _this, "endfreq" );
m_decayModel.loadSettings( _this, "decay" );
m_distModel.loadSettings( _this, "dist" );
- if( _this.hasAttribute( "distend" ) )
+ if( m_versionModel.value() > 0 )
{
m_distEndModel.loadSettings( _this, "distend" );
} |
Should be fixed by #6670. |
And zonkmachine taps out... 😎 |
Hi,
I automated multiple knobs of a Kicker plugin, using some automation tracks in the song. I noticed that the connection of the "End distortion" is systematically not restored after closing/reopening the project. This never happen with another automated knob of this plugin, but with "End distortion" it happen every times.
Version used : LMMS 1.3.0-alpha.1.315+g57e7fdc53 (Linux x86_64, Qt 5.15.8, GCC 12.2.0)
The text was updated successfully, but these errors were encountered: