Fix: Build error from ae9ac99d2b
This commit is contained in:
parent
ae9ac99d2b
commit
a569344a81
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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. */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue