Hallo.
I have a problem with updatin .py files in Blender's text editor.
If I load some .py files in Blender and stat this script via main.py it works great.
But if I change one of these files except the main.py this change does not work in main.py.
Here is an example:
main.py
--------------
from test import foo
print foo()
test.py
--------------
def foo():
return 1.5
This works great. 1.5 is printed
But if I change 1.5 to 1.0 and call foo() again from main.py still 1.5 is printed.
Can anybody help me with this problem. I don't know what to do about tihs.
I'm using Blender 2.44 and Python 2.5
Bye,
KoRn
Problem with updating .py files in Blender
Moderators: jesterKing, stiv
Thanks.reD_Fox wrote:Hello,
This might be of some use to you:
http://docs.python.org/lib/built-in-funcs.html#l2h-61
Levi
This works great.
But I have to start the script twice before I can see some change.
Is this a normal thing???