View2d: Removing some debug code I left in...
authorJoshua Leung <aligorith@gmail.com>
Fri, 12 Dec 2008 23:28:47 +0000 (23:28 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 12 Dec 2008 23:28:47 +0000 (23:28 +0000)
source/blender/editors/interface/view2d.c

index 66eeb930ab5c8329a0e54ebd269d4419569889e8..054f4c7f16042701d3d55980f45bbdb08417636a 100644 (file)
@@ -744,7 +744,6 @@ void UI_view2d_grid_draw(const bContext *C, View2D *v2d, View2DGrid *grid, int f
        
        /* horizontal lines */
        if (flag & V2D_HORIZONTAL_LINES) {
-               puts("draw horizontal lines");
                /* only major gridlines */
                vec1[1]= vec2[1]= grid->starty;
                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);
                for (a=0; a<=step; a++) {
-                       printf("\t a = %d \n", a);
                        glBegin(GL_LINE_STRIP);
                                glVertex2fv(vec1); 
                                glVertex2fv(vec2);