OffscreenRendering: Fix Incorrect Window Coordinates
authorJeroen Bakker <j.bakker@atmind.nl>
Wed, 15 May 2019 07:47:22 +0000 (09:47 +0200)
committerJeroen Bakker <j.bakker@atmind.nl>
Tue, 21 May 2019 14:06:18 +0000 (16:06 +0200)
commite425e98475139733dbfb1da71a39edbad60ed8e1
tree0d5384ea874ce31adcf9d5b3e780fc06312f5888
parent7fe483b3604ff3ad6c731f315cb6b0497aa6391c
OffscreenRendering: Fix Incorrect Window Coordinates

When doing offscreen rendering (Viewport Render or Sequencer Scene
strip) EEVEE and workbench used the wrong window coordinates. These
coordinates included the border that was not drawn.

Reviewed By: brecht

Maniphest Tasks: T64505

Differential Revision: https://developer.blender.org/D4864
source/blender/editors/gpencil/gpencil_fill.c
source/blender/editors/include/ED_view3d.h
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/makesrna/intern/rna_space_api.c