Blender Git Commit Log

Git Commits -> Revision 409d3f4

Revision 409d3f4 by Jeroen Bakker (master)
December 18, 2019, 12:31 (GMT)
Workbench: Force Vertex Colors in Paint Mode

Vertex colors behaved differently as the paint overlay mixed the colors
in display mode and the results was multiplied on top of the original
shading.

This patch will align the implementation to texture painting where the
colors are drawn by the workbench engine so the correct shading is
applied.

This also means that we don't show the vertex colors overlay when not
in solid mode.

Reviewed By: fclem

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

Commit Details:

Full Hash: 409d3f48809c1526a23c95f3ee568095100e7caa
Parent Commit: 8bab865
Lines Changed: +189, -62

6 Modified Paths:

/source/blender/draw/engines/overlay/overlay_paint.c (+2, -9) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+46, -11) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+47, -14) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+61, -18) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+32, -9) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021