Fix T83084: Smart UV Project inverts the resulting UVs

Caused by 850234c1b1,

Flip the normal to avoid flipped projection.
This commit is contained in:
Philipp Oeser 2021-01-13 13:37:14 +11:00 committed by Jeroen Bakker
parent dbaf5fb4bb
commit 20c71ca5d9
Notes: blender-bot 2023-02-14 08:29:54 +01:00
Referenced by issue #83084, Smart UV Project invert the resulting UVs
1 changed files with 1 additions and 1 deletions

View File

@ -2129,7 +2129,7 @@ static int smart_project_exec(bContext *C, wmOperator *op)
}
float axis_mat[3][3];
axis_dominant_v3_to_m3_negate(axis_mat, project_normal_array[p_index]);
axis_dominant_v3_to_m3(axis_mat, project_normal_array[p_index]);
for (LinkNode *list = thickface_project_groups[p_index]; list; list = list->next) {
ThickFace *tf = list->link;