[Bf-blender-cvs] [be54868ec3f] master: Fix T53529: Rip crashes w/ wire edge

Campbell Barton noreply at git.blender.org
Wed Dec 13 06:14:28 CET 2017


Commit: be54868ec3ffb4decbe26d74265414d1a96b6da3
Author: Campbell Barton
Date:   Wed Dec 13 16:14:37 2017 +1100
Branches: master
https://developer.blender.org/rBbe54868ec3ffb4decbe26d74265414d1a96b6da3

Fix T53529: Rip crashes w/ wire edge

===================================================================

M	source/blender/editors/mesh/editmesh_rip.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list