diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-15 02:51:38 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-15 02:51:38 +0300 |
commit | 7d438ab6d88ae8f1ff08bf219297ab0f5f9d2b2e (patch) | |
tree | 76c371caae544f762bd86cf128aff34e6e64fbac /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | a9ae1fab8346e13429fda59ff305951bf39e06cb (diff) | |
parent | 04375869595e9276591cbb10179d22945dc01a36 (diff) |
Merge branch 'refactor-mesh-selection-generic' into refactor-mesh-position-generic
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 607e0fc3ef6..7dc8fb2239f 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -1004,9 +1004,13 @@ void SCULPT_connected_components_ensure(Object *ob); void SCULPT_vertex_visible_set(SculptSession *ss, PBVHVertRef vertex, bool visible); bool SCULPT_vertex_visible_get(SculptSession *ss, PBVHVertRef vertex); +bool SCULPT_vertex_all_faces_visible_get(const SculptSession *ss, PBVHVertRef vertex); +bool SCULPT_vertex_any_face_visible_get(SculptSession *ss, PBVHVertRef vertex); -void SCULPT_visibility_sync_all_face_sets_to_verts(struct Object *ob); -void SCULPT_visibility_sync_all_vertex_to_face_sets(struct SculptSession *ss); +void SCULPT_face_visibility_all_invert(SculptSession *ss); +void SCULPT_face_visibility_all_set(SculptSession *ss, bool visible); + +void SCULPT_visibility_sync_all_from_faces(struct Object *ob); /** \} */ @@ -1024,11 +1028,6 @@ bool SCULPT_vertex_has_unique_face_set(SculptSession *ss, PBVHVertRef vertex); int SCULPT_face_set_next_available_get(SculptSession *ss); void SCULPT_face_set_visibility_set(SculptSession *ss, int face_set, bool visible); -bool SCULPT_vertex_all_face_sets_visible_get(const SculptSession *ss, PBVHVertRef vertex); -bool SCULPT_vertex_any_face_set_visible_get(SculptSession *ss, PBVHVertRef vertex); - -void SCULPT_face_sets_visibility_invert(SculptSession *ss); -void SCULPT_face_sets_visibility_all_set(SculptSession *ss, bool visible); /** \} */ |