Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-01-29 22:33:51 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-01-29 22:34:37 +0300
commit1a61c209a0ff7c7b10a3b9bd00cb125fd5e21de6 (patch)
tree7e2d3a9caeaaec06b940ba6a6bb674f4c38747a9 /source/blender/makesdna/DNA_material_types.h
parent43150b02a0067a7bc5c1e39797815cd2d907be8f (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h3
1 files changed, 1 insertions, 2 deletions
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. */