Blender Git Loki

Git Commits -> Revision ac42e58

Revision ac42e58 by Gottfried Hofmann (blender-v2.93-release)
November 2, 2021, 11:02 (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: ac42e58e3104cdb6cc7c0b57869320616bd29c4b
Parent Commit: 71f354a
Committed By: Philipp Oeser
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