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.
This commit is contained in:
Jeroen Bakker
2020-03-02 09:24:06 +01:00
parent f78ca97cfc
commit e0ffb911a2

View File

@@ -257,7 +257,7 @@ static PyObject *bpygpu_offscreen_draw_view3d(BPyGPUOffScreen *self,
true,
true,
"",
true,
false,
self->ofs,
NULL);