diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2019-05-26 17:37:58 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2019-05-26 17:37:58 +0300 |
commit | c53f2079b8d7c1d7f2720adb1758d9d617e255a2 (patch) | |
tree | e174e612b1712b200aa56ee5001ac06bc9e6ea76 /source/blender | |
parent | 66ec6c1f50d2629ec6b120b1bde07c73ddd0824d (diff) |
Fix T64989 Bevel hangs with Mark Sharp sometimes.
Code for extending sharp edges assumes ADJ pattern and this
example uses TRI_FAN pattern. This change doesn't fix TRI_FAN
mark sharp bug at least won't infinite loop any more.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index 088acbbce9b..f0ffea0fbc8 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -1832,6 +1832,9 @@ static void bevel_extend_edge_data(BevVert *bv) { VMesh *vm = bv->vmesh; + if (vm->mesh_kind == M_TRI_FAN) + return; + BoundVert *bcur = bv->vmesh->boundstart, *start = bcur; do { |