From 1a61c209a0ff7c7b10a3b9bd00cb125fd5e21de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 29 Jan 2019 20:33:51 +0100 Subject: Workbench: Make Material transparency part of the rgba color picker It is only used for solid mode for now but could be used by eevee in the future. --- source/blender/makesdna/DNA_material_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/makesdna/DNA_material_types.h') diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 10c40cc28a6..769d4272d70 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -145,7 +145,7 @@ typedef struct Material { short flag, pad1[7]; /* Colors from Blender Internal that we are still using. */ - float r, g, b; + float r, g, b, a; float specr, specg, specb; float alpha DNA_DEPRECATED; float ray_mirror DNA_DEPRECATED; @@ -154,7 +154,6 @@ typedef struct Material { float gloss_mir DNA_DEPRECATED; float roughness; float metallic; - float transparency; float pad4; /* Ror buttons and render. */ -- cgit v1.2.3