Fix T49996: VSE opengl render crash with grease pencil if current frame is empty
authorAntonioya <blendergit@gmail.com>
Fri, 11 Nov 2016 21:27:10 +0000 (22:27 +0100)
committerAntonioya <blendergit@gmail.com>
Fri, 11 Nov 2016 21:27:10 +0000 (22:27 +0100)
commit674c3bf89480a3278b3637d1dcfe37532f00711e
treea58a0e9f1c254b220250e2c63ff5406d9fe3ce06
parentcdeaec3b0d151e020f532e0b2cc46742b41a379f
Fix T49996: VSE  opengl render crash with grease pencil if current frame is empty

If the opengl render with grease pencil is run from VSE with the current
frame outside visible frames, the render pass is wrong and the render
must be canceled because nothing to render. Related to #T49975
source/blender/editors/render/render_opengl.c