Commit: 5d9919988009b158cd918b402d29fc516ad47e35
Author: Philipp Oeser
Date:   Wed Jan 13 13:37:14 2021 +1100
Branches: master
https://developer.blender.org/rB5d9919988009b158cd918b402d29fc516ad47e35

Fix T83084: Smart UV Project inverts the resulting UVs

Caused by 850234c1b10a828678f1b91001f2731db807f7e2,

Flip the normal to avoid flipped projection.

===================================================================

M       source/blender/editors/uvedit/uvedit_unwrap_ops.c

===================================================================

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;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to