[tuhopuu-cvs] pls test console

Rob Haarsma rob at captainvideo.nl
Sat Feb 8 15:21:04 CET 2003


Hey Tuhopuu people !

In case you didn't notice, i added a consolewindow to Blender.
When you toggle one of these hotkeys: [alt ~],[ctrl/],[alt/],[alt.] or 
[ctrl.]
the lower button area will change into a (modified) textwindow that will
print output messages.

The output method of console messages can be selected in the userpreference
window. There are three options: output to Normal Stdout, output to Blender,
and both. Careful with selecting both tho... i experienced a performance
slowdown with this option.

You can invoke ouput messages by using BIF_printf() instead of the ordinary
printf(), and you need to include BIF_console.h to your file. If you want to
see how it works, open the "Load image" thumbnailwindow, press one of the
console hotkeys and start browsing for (image)files.

Since the consolewindow is basically a textwindow, the event input for the
textwindow needs a makeover. For now i only disabled typing and the 
execution
of scripts (alt-p), but this will change asap.

Let me know what you think!

Rob





More information about the tuhopuu-cvs mailing list