Blender Git Commit Log

Git Commits -> Revision c95015b

October 1, 2020, 13:37 (GMT)
Sculpt: Preserve Mesh visibility from edit mode using the Face Sets

Before this change, when users switch from edit mode to sculpt mode, the
entire mesh would be visible. Even if in the edit mesh mode part of it was
set to invisible.

With this change the visibility is preserved, by creating a separate face set
for the visible and invisible parts of the mesh and setting their initial visibility.

Implementation details: This adds a function to initialize a new Face Set
datalayer taking the current mesh visibility into account which is stored
in the ME_HIDE flag of the vertices.

Reviewed By: sergey

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

Commit Details:

Full Hash: c95015bf965681aa2bd096acc9f7664d085b4d58
Parent Commit: f0b5fce
Committed By: YimingWu
Lines Changed: +63, -9

3 Modified Paths:

/source/blender/blenkernel/BKE_paint.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+56, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021