Fix T80520: Tris to Quads ignores UV delimit option

This commit is contained in:
Germano Cavalcante 2020-09-21 15:01:46 +10:00 committed by Campbell Barton
parent b51d836fcc
commit f5b6b82598
Notes: blender-bot 2023-02-14 06:57:56 +01:00
Referenced by issue #80520, Blender 2.90 Tris to Quads breaks UVs even with Compare UVs checked.
Referenced by issue #80396, Potential candidates for corrective releases
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
1 changed files with 1 additions and 1 deletions

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);
}