diff options
-rw-r--r-- | source/blender/src/interface_icons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/interface_icons.c b/source/blender/src/interface_icons.c index 641669e2168..ae9dc2b0dc5 100644 --- a/source/blender/src/interface_icons.c +++ b/source/blender/src/interface_icons.c @@ -938,8 +938,8 @@ static void icon_draw_rect(float x, float y, int w, int h, float aspect, int rw, { 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) { |