diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-06-14 14:10:01 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-06-14 14:10:01 +0400 |
commit | 23b2a1be8f3e355e5e558887dfd9fee29b29099b (patch) | |
tree | 151017a6c827ed0c0b83d55b1e6f0c8a1a1d67c2 /source/blender/python/BPY_interface.c | |
parent | c812a09ff363a08b99bfa109a1d6c22d7f99ceed (diff) |
* Fixed crash on file image selectors:
The global python dict can't be cleaned before the callbacks are executed.
Diffstat (limited to 'source/blender/python/BPY_interface.c')
-rw-r--r-- | source/blender/python/BPY_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/BPY_interface.c b/source/blender/python/BPY_interface.c index 85162182e31..2dff0d1b0e1 100644 --- a/source/blender/python/BPY_interface.c +++ b/source/blender/python/BPY_interface.c @@ -222,7 +222,7 @@ struct _object *BPY_txt_do_python(struct SpaceText* st) { PyObject *dict, *ret; - printf ("In BPY_txt_do_python\n"); + printf ("\nIn BPY_txt_do_python\n"); if (!st->text) return NULL; @@ -230,7 +230,7 @@ struct _object *BPY_txt_do_python(struct SpaceText* st) * the script with a clean global dictionary or should keep the current one, * possibly already "polluted" by other calls to the Python Interpreter. * The default is to use a clean one. To change this the script writer must - * call Blender.releaseGlobalDict(bool), with bool != 0, in the script */ + * call Blender.releaseGlobalDict(bool), with bool == 0, in the script */ if (EXPP_releaseGlobalDict) { printf("Using a clean Global Dictionary.\n"); |