Blender Git Loki

Git Commits -> Revision a540d16

Revision a540d16 by Pablo Dobarro (master)
March 9, 2020, 18:14 (GMT)
Cleanup: Move Face Sets random color generation to its own function

This way we can change the color generation easily if we want to improve
it in the future. I also added more values to randomize a little bit the
saturation and value of the colors, as previously it was too easy to get
similar colors when creating new faces, forcing you to use the randomize
colors more than necessary.

Reviewed By: brecht

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

Commit Details:

Full Hash: a540d16ee82e6c91d76fdfea8c0b90b922ece4d9
Parent Commit: 1131e33
Lines Changed: +20, -16

1 Modified Path:

/source/blender/gpu/intern/gpu_buffers.c (+20, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021