diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-06-04 01:23:29 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-06-09 20:09:50 +0300 |
commit | cb9de95d61b32f90788875f20e046095bb6310ad (patch) | |
tree | 51d8772fc2220467ba41ade9a21243efbba1b313 /source/blender/blenkernel/BKE_paint.h | |
parent | 77789a1904917ac4ed76e966311744d9f65563a7 (diff) |
Sculpt: Face Set Edit Operator
This operator performs an edit operation in the active face set defined
by the cursor position and updates the visibility. For now, it has a
Grow and Shrink operations, similar to Select More/Less in edit mode or
to the mask filter Grow/Shrink modes. More operations can be added in
the future.
In multires, this updates the visibility of an entire face from the base
mesh at once, which makes it very convenient to edit the visible area
without manipulating the face set directly.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D7367
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r-- | source/blender/blenkernel/BKE_paint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h index 1e52349a942..4d30c5c7fce 100644 --- a/source/blender/blenkernel/BKE_paint.h +++ b/source/blender/blenkernel/BKE_paint.h @@ -315,6 +315,8 @@ typedef struct SculptSession { /* Mesh Face Sets */ /* Total number of polys of the base mesh. */ int totfaces; + /* Face sets store its visibility in the sign of the integer, using the absolute value as the + * Face Set ID. Positive IDs are visible, negative IDs are hidden. */ int *face_sets; /* BMesh for dynamic topology sculpting */ |