From 40f2ceed36c203b4e76e7c7bf134cb612588b43d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 2 Feb 2012 19:51:53 +0000 Subject: [PATCH] fix [#30054] Bridge edge loops crashes attached .blend --- source/blender/bmesh/operators/connectops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/bmesh/operators/connectops.c b/source/blender/bmesh/operators/connectops.c index bff64087316..73592985f2a 100644 --- a/source/blender/bmesh/operators/connectops.c +++ b/source/blender/bmesh/operators/connectops.c @@ -186,7 +186,7 @@ void bmesh_bridge_loops_exec(BMesh *bm, BMOperator *op) } else { /* edges do not form a loop: there is a disk - with more than two marked edges. */ + * with more than two marked edges. */ BMO_RaiseError(bm, op, BMERR_INVALID_SELECTION, "Selection must only contain edges from two edge loops"); goto cleanup; @@ -235,7 +235,7 @@ void bmesh_bridge_loops_exec(BMesh *bm, BMOperator *op) } } - /*test for connected loops, and set cl1 or cl2 if so*/ + /* test for connected loops, and set cl1 or cl2 if so */ if (v == ov) { if (c==0) cl1 = 1; @@ -352,7 +352,7 @@ void bmesh_bridge_loops_exec(BMesh *bm, BMOperator *op) } if (wdir == 0) { for (i=0; il && ee2[j]->l) { wdir = (ee2[j]->l->v == vv2[j]) ? (1) : (-1); break;