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 Campbell Barton
parent 92826a921c
commit 5d99199880

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;