Blender Git Loki

Git Commits -> Revision 7c18fb0

Revision 7c18fb0 by Falk David (master)
April 14, 2021, 16:52 (GMT)
Fix T87406: Stroke color when using object color mode

The color of the strokes was shifted when using `Single Color` or
`Object Color`in Solid Display Mode. This was originally done so
that it was still possible to differentiate strokes and fills.

The fix allows for a completly flat shading by checking if the
Lighting Mode is set to `Flat`. If it is, then the colors are not
shifted for the strokes and everything will use the same color.

Reviewed By: antoniov, fclem

Maniphest Tasks: T87406

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

Commit Details:

Full Hash: 7c18fb062d3656ec76e4e8c1045e7a8c9d44b132
Parent Commit: 71eaf87
Committed By: Antonio Vazquez
Lines Changed: +15, -7

1 Modified Path:

/source/blender/draw/engines/gpencil/gpencil_draw_data.c (+15, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021