Revision: 14818
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14818
Author:   campbellbarton
Date:     2008-05-12 22:59:46 +0200 (Mon, 12 May 2008)

Log Message:
-----------
confined unprofessional print to debug mode ;)

Modified Paths:
--------------
    trunk/blender/source/blender/src/interface_icons.c

Modified: trunk/blender/source/blender/src/interface_icons.c
===================================================================
--- trunk/blender/source/blender/src/interface_icons.c  2008-05-12 18:39:05 UTC 
(rev 14817)
+++ trunk/blender/source/blender/src/interface_icons.c  2008-05-12 20:59:46 UTC 
(rev 14818)
@@ -938,8 +938,8 @@
 {
        ui_rasterpos_safe(x, y, aspect);
        
-       if(w<1 || h<1) {
-               printf("what the heck!\n");
+       if((w<1 || h<1) && G.f & G_DEBUG) {
+               printf("what the heck! - icons are %i x %i zero pixels?\n", w, 
h);
        }
        /* rect contains image in 'rendersize', we only scale if needed */
        else if(rw!=w && rh!=h) {


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to