Blender Git Loki

Git Commits -> Revision 53804b3

Revision 53804b3 by Pablo Dobarro (master)
September 29, 2020, 20:54 (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:

Commit Details:

Full Hash: 53804b333a1fe8075fba932ea55b29e8d1e00dad
Parent Commit: e0bfd39
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021