Page MenuHome

Fix T75104: Update Face Sets visibility when entering Sculpt Mode
ClosedPublic

Authored by Pablo Dobarro (pablodp606) on Mar 26 2020, 8:23 PM.

Details

Summary

Geometry that was just added to sculpt mode has the SCULPT_FACE_SET_NONE
assigned, so it was hidden by default. By doing this when entering
sculpt mode a new visible face set is created for it, making it easier
to isolate it again if you want to do further tweaking with the sculpt
tools.

Also, this also fixes the issue that may happen when changing the mesh
visibility in edit mode. Now visibility changes done outside sculpt mode
are stored in the face sets when entering sculpt mode, so mesh
visibility should stay the same.

Diff Detail

Repository
rB Blender

Event Timeline

Jeroen Bakker (jbakker) requested changes to this revision.Apr 2 2020, 10:20 AM
Jeroen Bakker (jbakker) added inline comments.
source/blender/editors/sculpt_paint/sculpt.c
7489

Wouldn't this also update all other facesets that were still 0? If not, please explain in the comment.

This revision now requires changes to proceed.Apr 2 2020, 10:20 AM
Pablo Dobarro (pablodp606) marked an inline comment as done.
  • Review update
This revision is now accepted and ready to land.Apr 14 2020, 3:52 PM