[Bf-blender-cvs] [7ba2720a70c] master: Fix T68103: bevel sometimes infinite loops with patch miter.

Howard Trickey noreply at git.blender.org
Fri Aug 16 19:22:10 CEST 2019


Commit: 7ba2720a70c83eb41f577aae4eb5a3403f6bb6b9
Author: Howard Trickey
Date:   Fri Aug 16 13:20:48 2019 -0400
Branches: master
https://developer.blender.org/rB7ba2720a70c83eb41f577aae4eb5a3403f6bb6b9

Fix T68103: bevel sometimes infinite loops with patch miter.

Needed to null terminate list of chain to process width adjustments on.

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

M	source/blender/bmesh/tools/bmesh_bevel.c

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

diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c
index 94935f2090b..797e2ca864e 100644
--- a/source/blender/bmesh/tools/bmesh_bevel.c
+++ b/source/blender/bmesh/tools/bmesh_bevel.c
@@ -3122,6 +3122,7 @@ static void adjust_offsets(BevelParams *bp, BMesh *bm)
       }
       if (!iscycle) {
         /* right->left direction, changing vchainstart at each step */
+        v->adjchain = NULL;
         v = vchainstart;
         bvcur = bv;
         do {



More information about the Bf-blender-cvs mailing list