Code cleanup - Removing/commenting out various bits of legacy cruft related to
[blender.git] / source / blender / editors / space_image / image_draw.c
index 998ebac1cb9b91e728bc9c24226941a73ebe1810..ac71eb972f64788530c753f12ccd7c7b1067815b 100644 (file)
@@ -565,7 +565,6 @@ void draw_image_grease_pencil(bContext *C, short onlyv2d)
        /* draw in View2D space? */
        if (onlyv2d) {
                /* draw grease-pencil ('image' strokes) */
-               //if (sima->flag & SI_DISPGP)
                draw_gpencil_2dimage(C);
        }
        else {
@@ -573,7 +572,6 @@ void draw_image_grease_pencil(bContext *C, short onlyv2d)
                //SpaceImage *sima= (SpaceImage *)CTX_wm_space_data(C);
                
                /* draw grease-pencil ('screen' strokes) */
-               //if (sima->flag & SI_DISPGP)
                draw_gpencil_view2d(C, 0);
        }
 }