Blender Git Commit Log
Git Commits -> Revision c8004ab
Revision c8004ab by Gottfried Hofmann (master) August 4, 2021, 09:20 (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: c8004ab4078c98c54a70113c12bbb186403e90cf
Parent Commit: b867df9
Committed By: Jeroen Bakker
Lines Changed: +12, -6
1 Modified Path:
/source/blender/python/gpu/gpu_py_offscreen.c (+12, -6) (Diff)