Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-02-23 19:26:28 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-02-23 19:26:30 +0300
commit0305fc30b3ba6a1b24e2c9c182ae2e76d553f341 (patch)
treeaf33fb70469ba354bef5642234b31094969e7a3e /source/blender/imbuf/intern/openexr/openexr_api.cpp
parent51279107491472a37d3abfb8b21b8bbc24e185e3 (diff)
Fix border rendering for eevee + stop passing render result around
Technically the original issue is that xof/yof in render result is calculated for drawing border render. So a simpler patch could be: ``` - rr->xof = re->disprect.xmin; + rr->xof = re->disprect.xmin + BLI_rcti_cent_x(&re->disprect) - (re->winx / 2); ``` However everywhere in the code we are getting border directly from re->disprect which we may as well do here too. Besides I'm taking this as a chance to get rid of RenderResult in the internal loop of eevee, to help prepare the code to the upcoming rendering pipeline changes.
Diffstat (limited to 'source/blender/imbuf/intern/openexr/openexr_api.cpp')
0 files changed, 0 insertions, 0 deletions