Minor edits to last commit

Avoid redundant tests
This commit is contained in:
Campbell Barton
2016-04-19 13:07:01 +10:00
parent 12b0c03e49
commit 7cc9f6b6f8

View File

@@ -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] &&