Expansions / Combo Box + SampleMaps
-
@DanH said in Expansions / Combo Box + SampleMaps:
Is there a refresh function for the PB currently? I couldn't see on in the APIs
No, and as I say we shouldn't need one. It should be automatic. It needs to be added to the source. I'm looking now to see if there is a quick fix.
-
-
Line 747 in PresetBrowser.cpp.
Replace the function there with this
void PresetBrowser::expansionPackLoaded(Expansion* currentExpansion) { if(expansionColumn != nullptr && currentExpansion != nullptr) selectionChanged(-1, -1, currentExpansion->getRootFolder(), false); else selectionChanged(-1, -1, File(), false); }
Or use my development branch https://github.com/davidhealey/HISE/tree/development
-
@d-healey said in Expansions / Combo Box + SampleMaps:
void PresetBrowser::expansionPackLoaded(Expansion* currentExpansion)
{
if(expansionColumn != nullptr && currentExpansion != nullptr)
selectionChanged(-1, -1, currentExpansion->getRootFolder(), false);
else
selectionChanged(-1, -1, File(), false);
}Testing... It's line 737 in Master Branch for anyone else following..
-
@DanH What crazy fool is using the master branch! :p
-
@d-healey Cos its stable! There's a few things in Develop that don't match up with what I've already made so waiting for things to be ironed out
-
@DanH I've found develop to be more stable than master, especially with look and feel stuff. What parts have you found that are unstable?
-
@d-healey Well it began with tableprocessors but that's been fixed. Waiting for table laf to be enabled now plus I can't compile plugins on it yet but need to test more to find out why
-
@DanH said in Expansions / Combo Box + SampleMaps:
Waiting for table laf to be enabled
Does that work on Master branch?
-
Plugins are compiling with develop branch. If it's not the case the issue's on your side.
But I heard some plugins exported from develop can be undetected by the DAW. This has to be confirmed though. -
@d-healey yup. I did @ christoph in a post about it recently
I also find the editor (I know I can reset this) and the windows resizing to be a bit of a pain currently in Dev.
-
@DanH Window resizing was fixed and the new editor is awesome, it just doesn't remember some settings properly yet :p
-
@DanH The more we are for testing, the more the bugs will be fixed :)
-
@ustk I'm dipping in and out :)
-
@d-healey works great :) Thank you! Worth pushing to Christoph?
-
@DanH I already have an open pull request and everytime I add something it automatically gets added to it - https://github.com/christophhart/HISE/pull/192 - I have no idea how it works but it's a mess :p
-
@d-healey said in Expansions / Combo Box + SampleMaps:
@DanH I've found develop to be more stable than master, especially with look and feel stuff. What parts have you found that are unstable?
-- So the laggy EQ display problem is fixed?
-
@Lindon just tried and seems ok
-
@d-healey So all working nicely. When an extension is active and the sample maps are loaded into the combo box the names of the maps have a prefix of '{EXP::expansionname}'
which is a little annoying!
I've had a look in ScriptExpansion.h/.cpp but I can't see anything to potentially change in there and I wonder if it's the baseline wildcard reference.
Any ideas of how to change the prefix most welcome!
-
@DanH Run through the names in a loop and use the replace command to remove the extra text. I used the replace command in a recent LAF video on Patreon if you need guidance on that function.