-
-
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
Fixes bug with cloning Automation Tracks #5732
Conversation
Fixes bug from issue LMMS#5595. When cloning an automation track, the IDs from the recently created AutomationPatterns weren't being resolved, causing them to show as disconnected automations. This PR fixes the issue by adding a call to AutomationPattern::resolveAllIDs() on the Track::clone() method. It also fixes the code style on that method.
🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩
Linux
Windows
🤖{"platform_name_to_artifacts": {"Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://9912-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-739%2Bg0efebe9-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/9912?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://9913-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-739%2Bg0efebe948-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/9913?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://9914-15778896-gh.circle-artifacts.com/0/lmms-1.2.3-739%2Bg0efebe948-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/9914?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/1g8r3k0vky5kw622/artifacts/build/lmms-1.2.2-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/35942135"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/0822iiwkuldk4p2u/artifacts/build/lmms-1.2.2-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/35942135"}]}, "commit_sha": "5864aea3d325238e2fcc3c076a3f6d81454a4015"} |
It works ok. |
Awesome! Thanks once again for testing @superpaik ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM to me.
If there are no objections I'll merge this one tomorrow. It's a very small fix and there are 2 approvals. |
Fixes bug from issue LMMS#5595. When cloning an automation track, the IDs from the recently created AutomationPatterns weren't being resolved, causing them to show as disconnected automations. This PR fixes the issue by adding a call to AutomationPattern::resolveAllIDs() on the Track::clone() method. It also fixes the code style on that method.
Fixes bug from issue #5595. When cloning an automation track, the IDs from the recently created AutomationPatterns weren't being resolved, causing them to show as disconnected automations.
This PR fixes the issue by adding a call to
AutomationPattern::resolveAllIDs()
on theTrack::clone()
method. It also fixes the code style on that method.