Fix T104132: Vertex colors no longer displaying in Workbench
This commit is contained in:
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
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue