[Bf-committers] Console patch update and question about Mac usage

Jacques Beaurain Jacques.beaurain at geosoft.com
Wed Aug 30 04:15:07 CEST 2006


----Original Message-----
From: bf-committers-bounces at projects.blender.org on behalf of Joe Eagar
Sent: Tue 8/29/2006 8:36 PM
To: bf-blender developers
Subject: Re: [Bf-committers] Console patch update and question about Mac usage
 
>You can actually write a python script to redirect python's stdout/err 
>to a scripts window.  So doing it in C should be easy :)
>
>Joe

I already needed to do this by using some static Python code in C the system. The redirect threads are just there to catch the normal printf's, so if we eventually replace them all with a GEN messaging system as per Lukep's suggestion we can hook this there too. See source/blender/python/api2_2x/Blender.c in the patch for more info, I just piggyback on the existing system using printf at the moment but anything can take place there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3426 bytes
Desc: not available
Url : http://projects.blender.org/pipermail/bf-committers/attachments/20060829/0e4490a2/attachment.bin


More information about the Bf-committers mailing list