diff options
author | Philipp Oeser <lichtwerk> | 2021-01-13 05:37:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-13 05:37:14 +0300 |
commit | 5d9919988009b158cd918b402d29fc516ad47e35 (patch) | |
tree | 11292f32f0aa95d04737652657ecb2e2b80922cd /source/blender/editors/uvedit | |
parent | 92826a921c2f17318bafa4d9dd4b7b7e1ba9c73d (diff) |
Fix T83084: Smart UV Project inverts the resulting UVs
Caused by 850234c1b10a828678f1b91001f2731db807f7e2,
Flip the normal to avoid flipped projection.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index 0cc447a2fff..4bba3ef605e 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -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; |