You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In compiled Full Expansion projects FrontendHandler::getUserPresetDirectory() will always return the project's user presets folder rather than the preset folder for the current expansion. The main problem with this is that the loadNextUserPreset and loadPreviousUserPreset script functions don't work.
I've tried to fix this myself with code along these lines:
I've found a fix for the previous/next preset loading, it doesn't solve it at the root though at the getUserPresetDirectory() function so there might be more to do.
Forum Discussion
https://forum.hise.audio/topic/7228/get-current-expansion-within-frontendhandler-getuserpresetdirectory
Commit
fcad7d6
Tested
OS: Linux
HISE: n/a
Compiled Project: Yes
In compiled Full Expansion projects
FrontendHandler::getUserPresetDirectory()
will always return the project's user presets folder rather than the preset folder for the current expansion. The main problem with this is that theloadNextUserPreset
andloadPreviousUserPreset
script functions don't work.I've tried to fix this myself with code along these lines:
But this causes a sissegv and I don't know how to solve it.
The text was updated successfully, but these errors were encountered: