On 2010-09-20 19:27, Carsten Neumann wrote: > Hello Dirk, > > On 09/20/2010 12:16 PM, Dirk Reiners wrote: >> On 09/20/2010 10:04 AM, Carsten Neumann wrote: >>> I'm turning the warnings into FATAL messages, because a missing camera, >>> background or root node will prevent rendering the viewport. >> >> Please don't. FATAL is reserved for serious system errors, not user mistakes. >> here's my internal description for the different message levels: >> >> FATAL: Something very serious went wrong. The system will probably crash >> horribly in the next few seconds. >> WARNING: Something serious went wrong. Don't be surprised to see black >> screens >> or lots of random triangles. >> NOTICE: Something is not quite right. You should be able to get a sensible >> image, but there might be little problems. >> INFO: Just in case you wanted to know. >> DEBUG: For internal debugging. >> >> It's not totally consistent throughout the codebase, but overall it's pretty >> much like this, and I would like to keep it this way. > > ok, I'll keep it a warning, but change the message to this: > > "Viewport::render: no Background, can not render!" > > to make it clear that nothing will be drawn (instead of not getting any > background color, for example).
I translate OpenSG's WARNING category to ERROR in our log system. That makes sense for most messages, but not all. That helps. :) Cheers, /Marcus ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users