diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-12-13 08:14:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-12-13 08:14:37 +0300 |
commit | be54868ec3ffb4decbe26d74265414d1a96b6da3 (patch) | |
tree | 7a538a42645a747b881d4c71aa5aa24148fb4802 | |
parent | 611752ce334a04acbc7439a0220f57f05fca1e48 (diff) |
Fix T53529: Rip crashes w/ wire edge
-rw-r--r-- | source/blender/editors/mesh/editmesh_rip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_rip.c b/source/blender/editors/mesh/editmesh_rip.c index 1a2f9fdb62b..0c8bd560bb2 100644 --- a/source/blender/editors/mesh/editmesh_rip.c +++ b/source/blender/editors/mesh/editmesh_rip.c @@ -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; |