Fix a failing bmesh_bevel test by fixing buffer overflow.
The uv fix just submitted had a bug where I forgot to wrap around after adding 1. This apparently worked anyway in a debug build but not in release build, hence the buildbot tests were failing.
This commit is contained in:
parent
6787cc13d4
commit
cfce5a32a7
|
@ -5409,8 +5409,9 @@ static void snap_edges_for_vmesh_vert(int i,
|
|||
}
|
||||
else if (jj == ns2 && kk == ns2 + 1) {
|
||||
/* Center poly vert for boundvert i+1. */
|
||||
int nexti = (i + 1) % n_bndv;
|
||||
r_snap_edges[corner] = snap_edge_for_center_vmesh_vert(
|
||||
i + 1, n_bndv, enext, enextnext, bndv_rep_faces, center_frep, frep_beats_next);
|
||||
nexti, n_bndv, enext, enextnext, bndv_rep_faces, center_frep, frep_beats_next);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue