diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-03-02 11:24:06 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-03-02 11:24:06 +0300 |
commit | e0ffb911a22bb03755687f45fc1a996870e059a8 (patch) | |
tree | 2b0a29f9b8ec5c8c5a4afe17ad5f383b1f588f90 /source/blender/python/gpu | |
parent | f78ca97cfcce148eba96e656a235442d3e3e37d1 (diff) |
Fix T74299: PyGPUOffscreen Color Management
Color management currently happens after the python handlers. This means
that all common drawing operations needs to happen in SRS. The
PyGPUOffscreen requested that the color management was applied, that
resulted into applying colormanagement twice.
This patch makes sure that PyGPUOffscreen.draw_view3d renders in SRS.
There are more code paths that needs to be checked that the correct
space is being requested.
Diffstat (limited to 'source/blender/python/gpu')
-rw-r--r-- | source/blender/python/gpu/gpu_py_offscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_offscreen.c b/source/blender/python/gpu/gpu_py_offscreen.c index 0efafe4e022..7e371d4f774 100644 --- a/source/blender/python/gpu/gpu_py_offscreen.c +++ b/source/blender/python/gpu/gpu_py_offscreen.c @@ -257,7 +257,7 @@ static PyObject *bpygpu_offscreen_draw_view3d(BPyGPUOffScreen *self, true, true, "", - true, + false, self->ofs, NULL); |