Im trying to store [ValueTree] content (contains only simple data) in a plugin state. Having hard time here as there is no data to be recalled after all .
Trying to search the forum ,but cant find any clue so far .
I have still a lot of sympathy for [ValueTree], however frustration may come really soon :D
yeah ive tried (writeToFile) and data is definitelly there ...
actually ive spoted the mistake few minutes ago.
i should assign whats returned (fromXml)
temp = ValueTree::fromXml(*xml);
not
temp.fromXml(*xml);
... this way it works as expected, just with one additional symptom ... all is turned into a [Strings], so i think i need different approach ,as rebuilding [ValueTree] node by node myself is the last thing i would go for if i have to ...
ah ok ,its a class that manages parameters state ...
well my [ValueTree] is a data structure that holds various datas about many aspects of the plugin behaviour, most of them are not related to [GUI] directly , and its not about to be exposed as a plugin parameter interface for a daw ... the data is interpreted in the process while performing and distributed conditionally.