Solved [bug] isUserPresetReadOnly always undefined
-
This happens both inside HISE (with the read only factory presets preference enabled or disabled).
const f = FileSystem.getFolder(FileSystem.UserPresets).getChildFile("Country/Basses/Basic Basses.preset"); // Replace with path to one of your presets Console.print(Engine.isUserPresetReadOnly(f));
In the source I can see that when running in HISE it should return the value of the preference. I checked in a debugger and indeed that is the value that is being returned. Yet it shows up as undefined within HISE...
-
Well that was an easy fix
-
-