Fix T104132: Vertex colors no longer displaying in Workbench

This commit is contained in:
Miguel Pozo 2023-01-25 23:01:00 +01:00
parent fa57c691f6
commit f5d94f97e4
Notes: blender-bot 2023-02-14 06:57:56 +01:00
Referenced by issue #104132, Regression: Vertex colors/attributes no longer displaying in Solid shading
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ void workbench_material_data_get(int handle,
vec4 data = materials_data[uint(handle) & 0xFFFu];
color = data.rgb;
if (materialIndex == 0) {
color_interp = vertex_color;
color = vertex_color;
}
#else