[Bf-blender-cvs] [19e4c235bab] sculpt-dev: Sculpt: fix crash
Joseph Eagar
noreply at git.blender.org
Tue Oct 5 10:06:21 CEST 2021
Commit: 19e4c235bab80d659aed83f60accac6c64da5a72
Author: Joseph Eagar
Date: Tue Oct 5 01:06:07 2021 -0700
Branches: sculpt-dev
https://developer.blender.org/rB19e4c235bab80d659aed83f60accac6c64da5a72
Sculpt: fix crash
===================================================================
M source/blender/editors/sculpt_paint/sculpt_face_set.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_face_set.c b/source/blender/editors/sculpt_paint/sculpt_face_set.c
index ab3f12f1aa2..008af2e8420 100644
--- a/source/blender/editors/sculpt_paint/sculpt_face_set.c
+++ b/source/blender/editors/sculpt_paint/sculpt_face_set.c
@@ -2572,7 +2572,7 @@ static void island_stack_mesh_do(SculptSession *ss,
}
SculptFaceSetIslands *SCULPT_face_set_islands_get(SculptSession *ss, int fset)
{
- if (!ss->epmap) {
+ if (BKE_pbvh_type(ss->pbvh) != PBVH_BMESH && !ss->epmap) {
BKE_mesh_edge_poly_map_create(&ss->epmap,
&ss->epmap_mem,
ss->medge,
More information about the Bf-blender-cvs
mailing list