diff options
author | Gottfried Hofmann <gottfried> | 2021-08-04 12:20:10 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-11-02 14:02:25 +0300 |
commit | ac42e58e3104cdb6cc7c0b57869320616bd29c4b (patch) | |
tree | 5b24d0fdabd0160dade5fe7c94f0abc95e0f2ee8 /source/creator | |
parent | 71f354a825cc339a6af577cf6a704776d02fa77d (diff) |
Expose Color Management as argument for gpu.types.GPUOffScreen.draw_view3d()
Fix for https://developer.blender.org/T84227
The problem was that https://developer.blender.org/rBe0ffb911a22bb03755687f45fc1a996870e059a8 turned color management for offscreen rendering off by default, which makes it non-color-managed in some cases. So the idea here is that script authors get the choice wether they want color managed non-color-managed output. Thus this patch introduces a new argument do_color_management as a bool to gpu.types.GPUOffScreen.draw_view3d().
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D11645
Diffstat (limited to 'source/creator')
0 files changed, 0 insertions, 0 deletions