Fix: Snap Cursor API not returning index

Not a serious problem as nowhere currently requires this index.
This commit is contained in:
Germano Cavalcante
2024-02-17 10:12:07 -03:00
parent 1e81a353ad
commit 286b5a1c34

View File

@@ -815,7 +815,7 @@ static void v3d_cursor_snap_update(V3DSnapCursorState *state,
v3d_cursor_snap_calc_incremental(scene, v3d, region, state->prevpoint, co);
}
}
else if (snap_elem == SCE_SNAP_TO_VERTEX) {
else if (snap_elem & SCE_SNAP_TO_VERTEX) {
snap_elem_index[0] = index;
}
else if (snap_elem &