-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add NAMFileBrowserControl to group Model/IR loading controls #242
Add NAMFileBrowserControl to group Model/IR loading controls #242
Conversation
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.
All of the main changes are 10/10. Awesome to have them! And the metacontrol definition is awesome.
One critical issue that I'm not sure how to solve yet & I'd like to either have a fix or at least a plan before I can merge: The code in OnUIOpen
doesn't seem to be executing anymore: when I reopen the UI, the model & IR text are back to their defaults "Select model..." etc. It looks like the code that affects what we see is now mFileNameButton->SetLabelStr()
? Is there a way that this can be accessed from OnUIOpen
?
As soon as either there's a fix or I understand how to clean it up, I'm good to merge this.
NeuralAmpModeler/projects/NeuralAmpModeler-iOS.xcodeproj/project.pbxproj
Show resolved
Hide resolved
a564c35
to
462fdb8
Compare
yeah i am aware that this is not working yet, this PR is a draft it's not quite ready to be merged |
Right, apologies. Still an unintuitive feature to me (drafts that are visible to others) 😅 |
bbbc24d
to
5149474
Compare
Possibly blocked by #254 |
If we want to add the entitlement to Just in case that helps manage scope to this PR. |
This glorious PR can't come fast enough. 😍 |
Thank you! Great advancement. Loading nam files will be faster now. |
5d99c65
to
643a469
Compare
is this almost good to go? |
Update iPlug2
082939a
to
8ca8225
Compare
b76cf73
to
1a31ddb
Compare
341a00b
to
c7ace54
Compare
c7ace54
to
b9c1919
Compare
b9c1919
to
fbce0d6
Compare
@sdatkinson This is now ready for review. The model and IR path should be updated when the UI opens. There is a tonne of code clean-up around this and a bunch more UI rework that I would like to do, but one thing at a time I guess. |
I would suggest that you don't squash-merge the PR and make a merge commit for the PR. |
Looking forward to this one! Hope it’s coming in the next update 🙂 |
Deleted the comments with invalid issues. Please excuse me--I had the wrong commit on my local clone 😅 Windows is looking good. macOS looking good in the DAW; currently checking the standalone. |
Update looking into macOS. There seems to be an issue with loading models and IRs. The behavior is that after clicking "Open" on the file selection dialog, the dialog closes, but the standalone continues with no model loaded. The model is located at Putting a breakpoint in Looking closer, I've identified that First guess would be that this is related to the entitlements issue Oli called out in a separate Issue. Continuing to look, will update. Looks like If that's the case, then I'll be happy to approve this PR and address the entitlements next as I said 🙂 . We'll want to get it squared up before the next release. Might be able to get it today or this weekend yet. |
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.
This introduces a bug where laoding NAMs and IRs on the macOS standalone is broken. This is probably because of entitlements and is more or less anticipated in #254.
But we'll merge this and tackle that next.
@@ -207,6 +97,7 @@ NeuralAmpModeler::NeuralAmpModeler(const InstanceInfo& info) | |||
pGraphics->AttachCornerResizer(EUIResizerMode::Scale, false); | |||
pGraphics->AttachPanelBackground(COLOR_BLACK); | |||
pGraphics->EnableMouseOver(true); | |||
pGraphics->EnableTooltips(true); |
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.
Cute!
Update/Correction: Seems that Entitlements for the Music directory are already set. Standalone works if the models are under the Music directory 😄 🎉 Question is how to inform users about this requirement. It will be a breaking change because users who have stored their models somewhere else will not be able to load them up at all anymore. Some modal would be great. I'll make an Issue for it. |
This PR adds a new control NAMFileBrowserControl, which is used for the Model and IR loading. It
NAMFileBrowseControl.mov