fix [#33501] Grease pencil in OpenGL render
authorCampbell Barton <ideasman42@gmail.com>
Mon, 17 Dec 2012 02:34:53 +0000 (02:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 17 Dec 2012 02:34:53 +0000 (02:34 +0000)
commitf9ec10688a634f446e5666eead66e865a1595b67
tree4fa07e07dcb83e33c818c5d3e339a46be7b2a30d
parentbc0e1211de9765f0c1fc5196f3d72eff06cfb6d4
fix [#33501] Grease pencil in OpenGL render

With the view3d 'Render Only' option, grease pencil wouldn't draw, but for OpenGL render it did.

Since grease pencil can be very useful in opengl renders, enable grease pencil drawing with 'Render Only' option in the viewport,
and add a checkbox in the grease pencil header not to draw (unchecking each layer is annoying and applies to all spaces).
20 files changed:
source/blender/blenkernel/BKE_blender.h
source/blender/blenloader/intern/readfile.c
source/blender/editors/gpencil/gpencil_buttons.c
source/blender/editors/include/ED_gpencil.h
source/blender/editors/space_clip/clip_buttons.c
source/blender/editors/space_clip/space_clip.c
source/blender/editors/space_image/image_buttons.c
source/blender/editors/space_image/space_image.c
source/blender/editors/space_node/node_buttons.c
source/blender/editors/space_node/node_draw.c
source/blender/editors/space_node/space_node.c
source/blender/editors/space_sequencer/sequencer_buttons.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/space_sequencer/space_sequencer.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/editors/space_view3d/view3d_buttons.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/makesdna/DNA_space_types.h
source/blender/makesdna/DNA_view3d_types.h
source/blender/makesrna/intern/rna_space.c