Fix T58405: viewport drawing issues with display device set to None.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 28 Feb 2019 12:41:06 +0000 (13:41 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 28 Feb 2019 12:41:48 +0000 (13:41 +0100)
commitd68484a60f539339db12a7eedd0ead0f116a43d5
treeaaad274b769ff6e371ed8fca52a8dd2f512c858f
parentbbe5a95d05f7c9c7286e8f785ac92c2e16a114b2
Fix T58405: viewport drawing issues with display device set to None.

Disabling color management this way is not very useful, but as long as the
option is there it should work correct.
source/blender/draw/engines/workbench/workbench_data.c
source/blender/draw/engines/workbench/workbench_materials.c
source/blender/draw/engines/workbench/workbench_private.h
source/blender/makesrna/intern/rna_color.c