Fix T80520: Tris to Quads ignores UV delimit option

This commit is contained in:
mano-wii
2020-09-21 15:01:46 +10:00
committed by Campbell Barton
parent b51d836fcc
commit f5b6b82598

View File

@@ -166,7 +166,7 @@ static bool bm_edge_delimit_cdata(CustomData *ldata,
r_delim_cd->cd_type = type;
r_delim_cd->cd_size = CustomData_sizeof(r_delim_cd->cd_type);
r_delim_cd->cd_offset = CustomData_get_n_offset(ldata, type, 0);
r_delim_cd->cd_offset_end = r_delim_cd->cd_size * layer_len;
r_delim_cd->cd_offset_end = r_delim_cd->cd_offset + (r_delim_cd->cd_size * layer_len);
return (r_delim_cd->cd_offset != -1);
}