Blender Git Loki

Git Commits -> Revision 2dba59c

Revision 2dba59c by Gottfried Hofmann (lineart-shadow, temp-lineart-contained)
August 10, 2021, 01:35 (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: 2dba59c4ce70d34242236f8325763caee5174ae2
Parent Commit: 12865fe
Committed By: YimingWu
Lines Changed: +12, -6

1 Modified Path:

/source/blender/python/gpu/gpu_py_offscreen.c (+12, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021