[Bf-committers] New feature: Console output space type (requestfor input).

Joe Eagar joeedh at gmail.com
Fri Apr 21 06:38:00 CEST 2006


Matt Ebb wrote:
>
> Rather than simple printf it would be great to see something like 
> BIF_Notify("message here", PRIORITY_URGENT) or BIF_Error("message 
> here", PRIORITY_HARMLESS) or BIF_Log("message here", LOG_RENDERSTATS) 
> or BIF_Debug("message here") or whatever. Messages could be 
> categorised, which would then mean that they can be marked with 
> different colours or icons in the console to make it easy to find, and 
> the console could have options to filter various kinds of messages. So 
> if you're not interested in Python progress messages but you are 
> interested in detailed statistics from your render job, you could set 
> it up that way.
>
Blender definitely needs some sort of error system, both for passing 
messages around user tools and notifying the user.  Hemesh especially 
cannot live without this, it has it's own error system, but I'd love it 
if there was a more unified system to use, as this seems the wrong sort 
of thing to implement at an 3D Object type level.  In a half-edge 
structure, you really need some way for functions to pipe up and say 
"Hay! You killed the mesh!", so I'm force to have *something*, even if 
it's temporary until a different system is implemented blender-wide.

Mesh tools could benefit from this too, as I'd guess could other things.

joeedh


More information about the Bf-committers mailing list