Blender Git Loki

Git Commits -> Revision 066a2b2

Revision 066a2b2 by Willian Padovani Germano (master)
April 30, 2006, 22:10 (GMT)

Small update for pydrivers: force reloading the pydrivers.py Blender
text module when user edits the input text box of any pydriver
(Transform Properties panel, Ipo window).

It's enough to click in and out of a single pydriver's text input box
for the module reloading and also re-evaluation of all pydrivers
available. Maybe this "refreshing" should also be available from a
menu, let's see.

Note for Python fans:

Definitions and redefinitions in a reloaded module are properly handled
in Python, but previously defined data in the module doesn't disappear.
So if you define a function "f" inside a module, import it, then change
the function's name to "g" and reload the module, both "f" and "g" will
be available. This is considered a feature, check reload's documentation:
http://docs.python.org/lib/built-in-funcs.html#l2h-59

Commit Details:

Full Hash: 066a2b2ed2194ea72ae90f006f2f2be76014c7ca
SVN Revision: 7339
Parent Commit: 89dab43
Lines Changed: +25, -4

5 Modified Paths:

/source/blender/blenkernel/bad_level_call_stubs/stubs.c (+1, -0) (Diff)
/source/blender/blenkernel/BKE_bad_level_calls.h (+3, -3) (Diff)
/source/blender/python/BPY_extern.h (+1, -0) (Diff)
/source/blender/python/BPY_interface.c (+16, -0) (Diff)
/source/blender/src/drawipo.c (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021