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>2003-06-14 14:10:01 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-06-14 14:10:01 +0400
commit23b2a1be8f3e355e5e558887dfd9fee29b29099b (patch)
tree151017a6c827ed0c0b83d55b1e6f0c8a1a1d67c2 /source/blender/python/BPY_interface.c
parentc812a09ff363a08b99bfa109a1d6c22d7f99ceed (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.c4
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");