What is the best way to store variables that can save values when using them in a scriptlink that is run each redraw of the screen?
a) is it storing it in the Blender class? ie Blender.myvariable
b) storing it in registry
c) in a file
d) another way?
I am asking because i was storing a dictionary in Blender.dict, and blender crashes when I use the same dictinary variably for both the scriptlink script and my GUI. I was wondering if there was a better way.
Also, do global variables hold their values across scripts? or just fuctions in the same script?