Blender Git Commit Log

Git Commits -> Revision 65ea502

Revision 65ea502 by Philipp Oeser (master)
February 19, 2020, 11:10 (GMT)
Fix T73938: Cycles Vertex Color wrong if no layer is specified

The node would render black in this case (but should use the
'active_render' layer choosen in the object data properties -- this is
now in line to how this is handled for e.g. UVs)

This introduces ATTR_STD_VERTEX_COLOR and uses this thoughout, if no
particular layer is specified in the node.

Maniphest Tasks: T73938

Differential Revision: https://developer.blender.org/D6887

Commit Details:

Full Hash: 65ea5020c4a1647bcacd4933dc9e5fc519982536
Parent Commit: 3b01dbd
Lines Changed: +75, -12

5 Modified Paths:

/intern/cycles/blender/blender_mesh.cpp (+34, -8) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_vertex_color.osl (+10, -1) (Diff)
/intern/cycles/render/attribute.cpp (+5, -0) (Diff)
/intern/cycles/render/nodes.cpp (+25, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021