Fix T65763: Reset GPU when exporting annotations
authorJeroen Bakker <j.bakker@atmind.nl>
Fri, 14 Jun 2019 08:49:05 +0000 (10:49 +0200)
committerJeroen Bakker <j.bakker@atmind.nl>
Fri, 14 Jun 2019 08:49:05 +0000 (10:49 +0200)
commit31a99a3ab45a72476df781288f1c81763df57c62
tree58bbaff351b9eb0dc6977828673c7886628a1706
parent3bfd81ce29472d8217eca1c7c107da16e751baea
Fix T65763: Reset GPU when exporting annotations

When exporting annotations using `bpy.ops.render.opengl` the annotations
where only correct in the first frame. In the second frame the
annotations was shifted by half the resolution.

This change will reset the GPU matrices when the annotations are
rendered.
source/blender/editors/render/render_opengl.c