Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2006-05-01 02:10:39 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2006-05-01 02:10:39 +0400
commit066a2b2ed2194ea72ae90f006f2f2be76014c7ca (patch)
tree43ceaf8036e4be60572b930580ac92058a089643 /source/blender/blenkernel/BKE_bad_level_calls.h
parent89dab4397d9eb2b9970ba28edeaf95c578dcaab4 (diff)
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
Diffstat (limited to 'source/blender/blenkernel/BKE_bad_level_calls.h')
-rw-r--r--source/blender/blenkernel/BKE_bad_level_calls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_bad_level_calls.h b/source/blender/blenkernel/BKE_bad_level_calls.h
index 10248fad220..9e1870ac36f 100644
--- a/source/blender/blenkernel/BKE_bad_level_calls.h
+++ b/source/blender/blenkernel/BKE_bad_level_calls.h
@@ -67,10 +67,10 @@ void BPY_do_pyscript (struct ID *id, short int event);
void BPY_clear_script (struct Script *script);
void BPY_free_compiled_text (struct Text *text);
void BPY_free_screen_spacehandlers (struct bScreen *sc);
-/* ipo.c: */
-float BPY_pydriver_eval(struct IpoDriver *driver);
-/* depsgraph.c: */
+/* pydrivers */
struct Object **BPY_pydriver_get_objects(struct IpoDriver *driver);
+float BPY_pydriver_eval(struct IpoDriver *driver);
+void BPY_pydriver_update(void);
/* writefile.c */
struct Oops;