From f492c8d488b7eb2166ca894e10a8128a1678a885 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Tue, 15 Sep 2020 12:28:58 +0200 Subject: Image Editor: Make Rendering of Pure Emissive Colors Optional There are some areas that don't handle pure emissive colors well. For example erasing alpha using 2d or 3d painting. Or blurring an image in the compositor. This patch makes the rendering of pure emissive colors optional. In the side panel of the Image editor it can still be enabled when needed. There currently isn't a better place to store it as it is related on how the image (or a layer of the image) is created. A future design needs to make sure that the full workflow is supported. --- source/blender/makesdna/DNA_space_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_space_types.h') diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 06ab01a9730..66c87c85ffd 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -1131,7 +1131,7 @@ typedef enum eSpaceImage_Flag { SI_FLAG_UNUSED_0 = (1 << 0), /* cleared */ SI_FLAG_UNUSED_1 = (1 << 1), /* cleared */ SI_CLIP_UV = (1 << 2), - SI_FLAG_UNUSED_3 = (1 << 3), /* cleared */ + SI_SHOW_PURE_EMISSIVE = (1 << 3), SI_NO_DRAWFACES = (1 << 4), SI_DRAWSHADOW = (1 << 5), SI_FLAG_UNUSED_6 = (1 << 6), /* cleared */ -- cgit v1.2.3