missed this recent commit, while drawing grease pencil, draw if 'Render Only' is on.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 17 Dec 2012 05:36:00 +0000 (05:36 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 17 Dec 2012 05:36:00 +0000 (05:36 +0000)
source/blender/editors/space_view3d/view3d_draw.c

index 7fccff861ab07003cc6d6fa5308f420f8bd098d1..d3dc8f9a75efbe91fdb730f789d8544af320e26d 100644 (file)
@@ -3182,14 +3182,14 @@ static void view3d_main_area_draw_info(const bContext *C, ARegion *ar, const cha
                glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
        }
 
+       if (v3d->flag2 & V3D_SHOW_GPENCIL) {
+               /* draw grease-pencil stuff - needed to get paint-buffer shown too (since it's 2D) */
+               draw_gpencil_view3d(scene, v3d, ar, FALSE);
+       }
+
        if ((v3d->flag2 & V3D_RENDER_OVERRIDE) == 0) {
                Object *ob;
 
-               if (v3d->flag2 & V3D_SHOW_GPENCIL) {
-                       /* draw grease-pencil stuff - needed to get paint-buffer shown too (since it's 2D) */
-                       draw_gpencil_view3d(scene, v3d, ar, FALSE);
-               }
-
                drawcursor(scene, ar, v3d);
 
                if (U.uiflag & USER_SHOW_ROTVIEWICON)