Fix T65974 Workbench: transparency rendering broken

This commit is contained in:
Clément Foucault 2019-07-01 22:32:25 +02:00
parent 2002b29ecd
commit cbc0ad07b3
Notes: blender-bot 2023-02-14 03:29:37 +01:00
Referenced by issue #65974, Workbench transparency rendering broken
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ uint workbench_material_get_hash(WORKBENCH_MaterialData *material_template, bool
input[3] = (uint)(material_template->roughness * 512);
result += BLI_ghashutil_uinthash_v4_murmur(input);
result += BLI_ghashutil_uinthash((uint)(material_template->alpha * 512));
result += BLI_ghashutil_uinthash((uint)is_ghost);
result += BLI_ghashutil_uinthash(material_template->color_type);