Page Menu
Home
Search
Configure Global Search
Log In
Paste
P3186
T101027_snippet
Active
Public
Actions
Authored by
Philipp Oeser (lichtwerk)
on Sep 13 2022, 10:42 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 65e69bd8761..ef75a0b357c 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -837,7 +837,7 @@ static void sculpt_vertex_neighbors_get_faces(SculptSession *ss,
iter->capacity = SCULPT_VERTEX_NEIGHBOR_FIXED_CAPACITY;
iter->neighbors = iter->neighbors_fixed;
iter->neighbor_indices = iter->neighbor_indices_fixed;
- const bool *hide_poly = BKE_pbvh_get_vert_hide(ss->pbvh);
+ const bool *hide_poly = BKE_pbvh_get_poly_hide(ss->pbvh);
for (int i = 0; i < ss->pmap[vertex.i].count; i++) {
if (hide_poly && hide_poly[vert_map->indices[i]]) {
Event Timeline
Philipp Oeser (lichtwerk)
created this paste.
Sep 13 2022, 10:42 AM
Philipp Oeser (lichtwerk)
mentioned this in
T101027: Regression: Sculpt: Many operations not respecting the visibility anymore (probably everything that uses `BKE_pbvh_vertex_iter_begin`)
.
Log In to Comment