forked from bartvdbraak/blender
Fix T39331: Dissolve vertex crash
This commit is contained in:
parent
32d5d072a0
commit
b69809c820
@ -205,14 +205,16 @@ bool BM_disk_dissolve(BMesh *bm, BMVert *v)
|
||||
return false;
|
||||
}
|
||||
|
||||
/* get remaining two faces */
|
||||
f = e->l->f;
|
||||
f2 = e->l->radial_next->f;
|
||||
if (e->l) {
|
||||
/* get remaining two faces */
|
||||
f = e->l->f;
|
||||
f2 = e->l->radial_next->f;
|
||||
|
||||
if (f != f2) {
|
||||
/* join two remaining faces */
|
||||
if (!BM_faces_join_pair(bm, f, f2, e, true)) {
|
||||
return false;
|
||||
if (f != f2) {
|
||||
/* join two remaining faces */
|
||||
if (!BM_faces_join_pair(bm, f, f2, e, true)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user