Fix: Build error from ae9ac99d2b

This commit is contained in:
Chris Blackbourn 2023-05-23 09:36:47 +12:00
parent ae9ac99d2b
commit a569344a81
2 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ static void createTransUVs(bContext *C, TransInfo *t)
countsel++;
if (island_center) {
UvElement *element = BM_uv_element_get(elementmap, efa, l);
UvElement *element = BM_uv_element_get(elementmap, l);
if (element && !element->flag) {
float *luv = BM_ELEM_CD_GET_FLOAT_P(l, offsets.uv);
@ -370,7 +370,7 @@ static void createTransUVs(bContext *C, TransInfo *t)
}
if (is_island_center) {
UvElement *element = BM_uv_element_get(elementmap, efa, l);
UvElement *element = BM_uv_element_get(elementmap, l);
if (element) {
center = island_center[element->island].co;
}

View File

@ -86,7 +86,7 @@ static int iso_index_for_loop(const BMLoop *loop,
UvElementMap *element_map,
const int island_index)
{
UvElement *element = BM_uv_element_get(element_map, loop->f, loop);
UvElement *element = BM_uv_element_get(element_map, loop);
if (!element) {
return -1; /* Either unselected, or a different island. */
}