Fix T53529: Rip crashes w/ wire edge

This commit is contained in:
Campbell Barton 2017-12-13 16:14:37 +11:00
parent 611752ce33
commit be54868ec3
Notes: blender-bot 2023-02-14 08:08:56 +01:00
Referenced by issue #53683, 2.79a release
Referenced by issue #53529, Rip tool on single edge crashes Blender
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ static int edbm_rip_invoke__vert(bContext *C, wmOperator *op, const wmEvent *eve
}
}
if (e_best && (is_manifold_region == false)) {
if (e_best && e_best->l && (is_manifold_region == false)) {
/* Try to split off a non-manifold fan (when we have multiple disconnected fans) */
BMLoop *l_sep = e_best->l->v == v ? e_best->l : e_best->l->next;
BMVert *v_new;