User Presets not saving
-
User presets aren't being created in the preset browser
-
I think this happens when the currently loaded preset doesn't have a interface script (because then there is nothing to save). However, it should complain instead of silently doing nothing.
-
Aha, mystery solved :)
-
@Christoph-Hart It would be good to an error for this, I thought something was broken. So does this imply any settings that are not part of the controls for the user interface aren't saved into presets?
-
Yup, I'll add a safe check.
And a user preset is just a collection of control values, so yes, everything apart from these values won't be saved in a user preset.
There is a trick to work around this and this is to use a hidden ScriptPanel and store a JSON object as value, this way you can create user presets which contain more than just numbers and on/off states.
-
What happens when a preset is created and then another widget is added? do the older presets continue to work?
-
@macromachines Yes