diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-04-01 02:03:20 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-04-01 02:07:47 +0300 |
commit | da3cb514e52de922148534c660a0b04ee5c43eeb (patch) | |
tree | 82d81dd0be84454a05984fdda9caa79c3b1c2262 /source/blender/blenkernel/intern/pbvh_intern.h | |
parent | 0062813c731ff2a0866d86a2b0558c67b8091f37 (diff) |
Multires: Initial Face Sets support
This implements the Sculpt Mode API functions needed for Face Sets and
visibility management for PBVH_GRIDS. No major changes were needed in
the operators and the sculpt mode code. This implementation stores the
face sets in the base mesh, so faces created in higher subdivision
levels can't be modified individually. Also, we are not checking for
multiple face sets per vertex (that can be added in the future), so
relax tools don't work yet. The rest of the features (paint, undo,
visibility operators..) work as expected.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D7168
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh_intern.h')
-rw-r--r-- | source/blender/blenkernel/intern/pbvh_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/pbvh_intern.h b/source/blender/blenkernel/intern/pbvh_intern.h index af92f11e219..21cb5649330 100644 --- a/source/blender/blenkernel/intern/pbvh_intern.h +++ b/source/blender/blenkernel/intern/pbvh_intern.h @@ -138,6 +138,7 @@ struct PBVH { int face_sets_color_seed; int face_sets_color_default; + int *face_sets; /* Grid Data */ CCGKey gridkey; @@ -168,6 +169,7 @@ struct PBVH { int cd_face_node_offset; struct BMLog *bm_log; + struct SubdivCCG *subdiv_ccg; }; /* pbvh.c */ |