Grease pencil is displayed in the OpenGL render despite "Only Render" setting in the N panel is on.
To recreate:
Draw something in the viewport with grease pencil.
In the N panel, Display rollout, turn on "Only Render".
This turns the grease pencil lines off in the viewport (as it should).
But, when you render to OpenGL (camera icon below the viewport), the grease pencil becomes visible again (it's not supposed to be).
See attached file for testing.
Blender 2.65 and 2.64, official and r52864 (I don't know if it happened in earlier versions too).
Windows 7 64 bit
Nvidia GeForce GTX 550 Ti.
Description
Event Timeline
Campbell, do you think this would be ok to fix? It's trivial but I wonder if it would break some workflows, when looking at commits like this.
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=31573
I don't know if there would still need to be some way to render grease pencil with only render, or if that kind of case works fine with all armatures etc included in the opengl render.
@Brecht. this is infact intentionally enabled since some artists wanted to render working animations which include GP.
But there is an inconsistency that the viewport doesnt do this.
Will check on this.
Maybe put some "show in OpenGL" button in the grease pencil rollout? (+ make it consistent in viewport and render)
Also, it doesn't show up in the F12 render, so it's not fully consistent there either.
PS.
My workflow is drawing some motion arcs with GP, then animating the character, then turning everything off except for the character to see if the motion looks right. That's why I would need them off.
Currently switching them off with the eye icon, but it's always an annoying surprise if they suddenly appear in the render when they weren't visible in that viewport.
Made opengl-render and the viewport consistent, both now drag grease pencil, even when the render-only option is enabled.
Since you dont always want this, you can now disable grease pencil from the panel header (checkbox), so you dont have to manually disable every layer.
Committed r53068.