Fix T80623: Correct Face Attributes affecting modes not listed

Some transform modes (such as Mirror) are not listed to have UV corrected
during the transformation.

It messed up the UV of all of these.
This commit is contained in:
Germano Cavalcante 2020-09-11 15:39:33 -03:00
parent 1e3057f177
commit e22e302837
Notes: blender-bot 2023-02-14 06:00:45 +01:00
Referenced by issue #80706, Recalculating(+flipping) Normals break up the UVs
Referenced by issue #80623, UV Dismemberment after Mirror the Mesh Blender 2.90
Referenced by issue #80396, Potential candidates for corrective releases
1 changed files with 3 additions and 0 deletions

View File

@ -1296,6 +1296,9 @@ void mesh_customdatacorrect_init(TransInfo *t)
use_merge_group = (t->settings->uvcalc_flag & UVCALC_TRANSFORM_CORRECT_KEEP_CONNECTED) != 0;
}
}
else {
return;
}
FOREACH_TRANS_DATA_CONTAINER (t, tc) {
mesh_customdatacorrect_init_container(tc, use_merge_group);