Been a while since I worked with Max and the pattr system.
I’ve a considerable amount of bpatchers and I’d like to centralize data in the top patch.
For this I use pattr storage, controlled by a preset object.
Each bpatcher has an autopattr with default settings and named objects.
While everything works as it should, if I modify and save the bpatcher, the bindings seem to be lost.
The expected behaviour would be to get the stored data when reloading the preset, instead the GUI elements revert to default settings.
What am I doing wrong, is there some argument to pattrstorage or autopattr that takes care of this or some other function?
I’ve looked at it some more and it appears that when changing a subpatch and saving it, pattrstorage can no longer write a proper data file with valueless JSON as a result – this with both patcher and bpatcher containing the same abstractions.