Sculpt: fix crash

This commit is contained in:
Joseph Eagar 2021-10-05 01:06:07 -07:00
parent 7dd11f2edc
commit 19e4c235ba
1 changed files with 1 additions and 1 deletions

View File

@ -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,