Blender Git Commit Log

Git Commits -> Revision 4e44c6f

Revision 4e44c6f by Pablo Dobarro (temp-face-set-fixes)
March 25, 2020, 14:29 (GMT)
Fix T74780: Face sets operators not aware of SCULPT_FACE_SET_NONE

SCULPT_FACE_SET_NONE default value is 0 and it is rendered hidden, so
the invert sign operation to show it was not working. Now the show all
function sets this face set to ID 1 before setting its sign.

I also refactored this check in gpu_buffers.

Not related to the reported issue, but the mesh in attached contains non
manifold geometry with hidden loose vertices, so the visibility state
was not syncing correctly to those vertices. Now the toggle operators
checks the current visibility only on the face sets, so no manifold
vertices are ignored (as they are in the rest of operations in sculpt
mode).

Maniphest Tasks: T74780

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

Commit Details:

Full Hash: 4e44c6fedfedc677b1491656997d5613843b6f5c
Parent Commit: e1b2ded
Committed By: Dalai Felinto
Lines Changed: +26, -19

2 Modified Paths:

/source/blender/editors/sculpt_paint/sculpt.c (+16, -5) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+10, -14) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021