In my main program I have an instance of a strict typedef containing a cluster.
I create reference to the instance and saves the reference in a local or global variable, ref_variable.
I am now able to conveniently access the cluster from anywhere in the program by calling the ref_variable
and using a property node.
This is all good untill I change something in the cluster type def, then the changes do not propagate down and updates the ref_variable !
If I manually re-create the ref_variable it updates fine.
Is there any way to get the ref_variable to update automatically from the typedef?
If I could get this to work I could obtain a nice and clean program structure with a very easy to read main program.
The attached code will explain better: