Fix error in recent fix for Rotate Edges

k
Commit [0] accidentally removed a check for edges not to rotate.

[0]: a0491899f0
This commit is contained in:
Campbell Barton
2024-10-31 21:50:25 +11:00
parent dc80fe879b
commit 2a2ad0c662

View File

@@ -131,7 +131,7 @@ static void bm_rotate_edges_shared(
BMEdge *e = edges[i];
BLI_assert(eheap_table[i] == nullptr);
bool ok = BM_edge_rotate_check(e);
bool ok = (BM_elem_index_get(e) != -1) && BM_edge_rotate_check(e);
if (ok) {
if (pass_type == PASS_TYPE_BOUNDARY) {