Cleanup: use ELEM macro
This commit is contained in:
@@ -2851,7 +2851,7 @@ static bool dissolve_leaves_valid_bmesh(FaceMergeState *fms,
|
||||
* saying which faces a vertex touches. */
|
||||
for (int a_v_index = 0; ok && a_v_index < alen; ++a_v_index) {
|
||||
const Vert *a_v = mf_left.vert[a_v_index];
|
||||
if (a_v != me.v1 && a_v != me.v2) {
|
||||
if (!ELEM(a_v, me.v1, me.v2)) {
|
||||
for (int b_v_index = 0; b_v_index < blen; ++b_v_index) {
|
||||
const Vert *b_v = mf_right.vert[b_v_index];
|
||||
if (a_v == b_v) {
|
||||
|
||||
Reference in New Issue
Block a user