Blender Git Loki

Git Commits -> Revision 18e3615

Revision 18e3615 by Pablo Dobarro (master)
March 9, 2020, 19:11 (GMT)
Face Sets: Use white color for a default Face Set to enable the overlay

This introduces a variable to store a face set ID which is going to be
rendered white. When initializing a mesh or randomizing the colors, this
variable gets updated to always render a white face set. This way the
face set overlay can be enabled without adding colors to the mesh if
face sets are not in use. After creating the first face set, new colors
are generated randomly like usual.

The face set stored as default does not have any special meaning for
tools or brushes, it just affects the rendering color.

Reviewed By: brecht

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

Commit Details:

Full Hash: 18e3615a68191c9f35303139d109972744499565
Parent Commit: 0dfb4ac
Lines Changed: +30, -10

10 Modified Paths:

/source/blender/blenkernel/BKE_pbvh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+4, -1) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+4, -1) (Diff)
/source/blender/gpu/GPU_buffers.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+12, -4) (Diff)
/source/blender/makesdna/DNA_mesh_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021