I’m using APVTS for my parameters and it’s not restoring state exactly. I’m wondering if my meta-parameters are the culprit.
My meta-parameters set the value of 8 other normal parameters, but it’s possible that the user has modified any of them after setting the meta-parameter. And wouldn’t the order in which they are restored (in
setStateInformation() in particular) then matter? Meaning, it would need to restore the meta-parameters first, then restore the individual parameters so they are overridden.
And I’m guessing that
parameters.replaceState(newState) doesn’t account for that.
Has anyone else run into this situation? And how did you handle it?
I’m guessing that I’ll just have to restore them all manually in the order I think best.