GUI resetting to default values


(hairu) #1

Everytime that blender redraws my python window, it changes the values of all my Strings, Numbers, etc to the defaults they had when they were created. How can I get it to keep the value that it had?


(theeth) #2

You have to assign the buttons value to variable. Just look for any script with a GUI and you can use it as an example.

Martin


(hairu) #3

Thanks. That worked great.