View2d: Removing some debug code I left in...

This commit is contained in:
Joshua Leung 2008-12-12 23:28:47 +00:00
parent 56557f223f
commit e83b5fabbf

@ -744,7 +744,6 @@ void UI_view2d_grid_draw(const bContext *C, View2D *v2d, View2DGrid *grid, int f
/* horizontal lines */ /* horizontal lines */
if (flag & V2D_HORIZONTAL_LINES) { if (flag & V2D_HORIZONTAL_LINES) {
puts("draw horizontal lines");
/* only major gridlines */ /* only major gridlines */
vec1[1]= vec2[1]= grid->starty; vec1[1]= vec2[1]= grid->starty;
vec1[0]= grid->startx; vec1[0]= grid->startx;
@ -754,7 +753,6 @@ void UI_view2d_grid_draw(const bContext *C, View2D *v2d, View2DGrid *grid, int f
UI_ThemeColor(TH_GRID); UI_ThemeColor(TH_GRID);
for (a=0; a<=step; a++) { for (a=0; a<=step; a++) {
printf("\t a = %d \n", a);
glBegin(GL_LINE_STRIP); glBegin(GL_LINE_STRIP);
glVertex2fv(vec1); glVertex2fv(vec1);
glVertex2fv(vec2); glVertex2fv(vec2);