Hi all. Another ValueTree question from me. I have created a class to setup a value tree full of properties to control OSC messages being sent, return the value tree that it creates and write the values to an xml file. This class gets used in the ‘top level’ application class as a scoped pointer, a class for buffering OSC messages as a scoped pointer and then in a window containing tabs of TreeViews also as a scoped pointer.
My problem is that none of these trees all reference the same value, so I end up with 7 trees all acting independently. This has lead me to believe that I am using ValueTrees in completely the wrong way (and/ or my application design wasn’t too good!). Can somebody give me a quick run down of their correct usage/ where I’m going wrong?
Source code can be found here for anybody interested: