Blender Git Commit Log

Git Commits -> Revision bb5373a

Revision bb5373a by Gottfried Hofmann (soc-2021-uv-editor-improvements)
August 6, 2021, 06:09 (GMT)
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

Commit Details:

Full Hash: bb5373ad7bbe111f3ee230ad3e52a0cf4e5055d8
Parent Commit: 791cb92
Committed By: Siddhartha Jejurkar
Lines Changed: +12, -6

1 Modified Path:

/source/blender/python/gpu/gpu_py_offscreen.c (+12, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021