Blender Git Loki

Git Commits -> Revision 71ccb09

Revision 71ccb09 by Philipp Oeser (vr_scene_inspection)
February 20, 2020, 12:00 (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: 71ccb092d4b901736d0e9571ce0a0ae9a2a37bd3
Parent Commit: de9c1ba
Committed By: Julian Eisel
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021