diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-21 16:23:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-21 16:23:56 +0400 |
commit | e9ffd121337d0d5d50bc8771a36117dc3696b315 (patch) | |
tree | 15800d0742ecc3ffb74ebc0ddd3d80c13a62b37c /source/blender/editors/space_file/space_file.c | |
parent | d2639e732b345ce32ec26c42d0e3ca6df4eb761a (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.c | 2 |
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"); } |