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:
authorCampbell Barton <ideasman42@gmail.com>2009-09-21 16:23:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-21 16:23:56 +0400
commite9ffd121337d0d5d50bc8771a36117dc3696b315 (patch)
tree15800d0742ecc3ffb74ebc0ddd3d80c13a62b37c /source/blender/editors/space_file/space_file.c
parentd2639e732b345ce32ec26c42d0e3ca6df4eb761a (diff)
bugfix [#19392] Typing help() in the console window freezes Blender
for now set the sys.stdin to None, this gives an error on input() or help() but better then locking up blender. Would be nice to support for the blender console to be used as a stdin but this isnt so simple. also quiet some warnings.
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r--source/blender/editors/space_file/space_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index 56dbdcbc645..ca2c145c52b 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -155,7 +155,7 @@ static void file_free(SpaceLink *sl)
/* spacetype; init callback, area size changes, screen set, etc */
static void file_init(struct wmWindowManager *wm, ScrArea *sa)
{
- SpaceFile *sfile= (SpaceFile*)sa->spacedata.first;
+ //SpaceFile *sfile= (SpaceFile*)sa->spacedata.first;
printf("file_init\n");
}