diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-19 00:41:52 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-19 00:41:52 +0400 |
commit | f08a9dfd8a9b7d6ba10d764f087c5bbd3ff1013d (patch) | |
tree | 250e66feb6bab42b2f084fef6204cf0c2363bd0f /doc/python_api/epy/IDProp.py | |
parent | 6e77dc19428a7887c6bee80f2485cb4628d03b78 (diff) |
Add operator for toggling cmd box on Windows.
Use through search menu (Toggle System Console) or
call bpy.ops.wm.toggle_console().
This is based on patch [#6927] Optional Console for Windows
by Fahrezal Effendi, submitted on July 10th, 2007 (!)
This paves the way for adding a command-line option to Blender to
toggle this cmd console, and for having a user preference option
for this. Command-line option I haven't added yet, as there seemed
to be problems with Python interpreter initialization (read: crashes).
This works by redirecting stdout and stderr to blenderlog.txt in user
temp directory (most likely %TEMP%\blenderlog.txt). When python problem
is fixed we can use this to always redirect stdout and stderr to this
logfile, making it also easier for us to ask users for this file in
bugreports.
Diffstat (limited to 'doc/python_api/epy/IDProp.py')
0 files changed, 0 insertions, 0 deletions