Fix #106628: Use correct function to get active uv layer #106644

Merged
Martijn Versteegh merged 1 commits from Baardaap/blender:fix-uv-again into main 2023-04-06 22:17:28 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ BMUVOffsets BM_uv_map_get_offsets_n(const BMesh *bm, const 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));
CustomData_get_active_layer(&bm->ldata, CD_PROP_FLOAT2));
}
static void uv_aspect(const BMLoop *l,