Fix #106430: Index the right UVmap in BMesh #106537

Closed
Martijn Versteegh wants to merge 5 commits from Baardaap:fix-named-uvmap_bmesh into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 6f17b661db - Show all commits

View File

@ -46,7 +46,8 @@ BMUVOffsets BM_uv_map_get_offsets_n(const BMesh *bm, int layer)
BMUVOffsets BM_uv_map_get_offsets(const BMesh *bm)
{
return BM_uv_map_get_offsets_n(bm, CustomData_get_active_layer_index(&bm->ldata, CD_PROP_FLOAT2));
return BM_uv_map_get_offsets_n(bm,
HooglyBoogly marked this conversation as resolved Outdated

Missing clang format here (line is 101 characters long)

Missing clang format here (line is 101 characters long)
CustomData_get_active_layer_index(&bm->ldata, CD_PROP_FLOAT2));
}
static void uv_aspect(const BMLoop *l,