diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-04-19 06:07:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-04-19 06:07:01 +0300 |
commit | 7cc9f6b6f83df811f9236fd58499a19151687428 (patch) | |
tree | b93274bbfe2df161d83b03b90a459943f2eeb04d /source/blender | |
parent | 12b0c03e4971d5f7a407eb94424635527196b12e (diff) |
Minor edits to last commit
Avoid redundant tests
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_decimate_dissolve.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate_dissolve.c b/source/blender/bmesh/tools/bmesh_decimate_dissolve.c index 9d415e44e0c..0777cb9727b 100644 --- a/source/blender/bmesh/tools/bmesh_decimate_dissolve.c +++ b/source/blender/bmesh/tools/bmesh_decimate_dissolve.c @@ -479,13 +479,15 @@ void BM_mesh_decimate_dissolve_ex( #ifdef USE_DEGENERATE_CHECK /* dissolving a vertex may mean vertices we previously weren't able to dissolve - * can bow be re-evaluated. */ + * can now be re-evaluated. */ if (e_new->l) { BMLoop *l_first, *l_iter; l_iter = l_first = e_new->l; do { + /* skip vertices part of this edge, evaluated above */ BMLoop *l_cycle_first, *l_cycle_iter; - l_cycle_iter = l_cycle_first = l_iter; + l_cycle_iter = l_iter->next->next; + l_cycle_first = l_iter->prev; do { const int j = BM_elem_index_get(l_cycle_iter->v); if (j != -1 && vheap_table[j] && |