diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-15 02:48:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-15 07:49:03 +0300 |
commit | 7ae9b96ac6debe9c63c4ce9ac9ca4e659d3a620d (patch) | |
tree | d2afaefc2f5a16b36b2a50ae80106c86e28a8fb0 /source | |
parent | bc891ad124ff100b505a20f88da066238a5db440 (diff) |
Fix T54072: Crash splitting edges
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_core.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/bmesh/intern/bmesh_core.c b/source/blender/bmesh/intern/bmesh_core.c index ccb09623e24..e761592c1cf 100644 --- a/source/blender/bmesh/intern/bmesh_core.c +++ b/source/blender/bmesh/intern/bmesh_core.c @@ -2423,9 +2423,10 @@ static void bmesh_kernel_vert_separate__cleanup(BMesh *bm, LinkNode *edges_separ /* don't visit again */ n_prev->next = n_step->next; } - } while ((void) - (n_prev = n_step), - (n_step = n_step->next)); + else { + n_prev = n_step; + } + } while ((n_step = n_step->next)); } while ((n_orig = n_orig->next) && n_orig->next); } while ((edges_separate = edges_separate->next)); |