[Bf-blender-cvs] [20c71ca5d9f] blender-v2.91-release: Fix T83084: Smart UV Project inverts the resulting UVs
Philipp Oeser
noreply at git.blender.org
Wed Jan 13 14:31:17 CET 2021
Commit: 20c71ca5d9f942e7596aa5016b50ad5efd047fe5
Author: Philipp Oeser
Date: Wed Jan 13 13:37:14 2021 +1100
Branches: blender-v2.91-release
https://developer.blender.org/rB20c71ca5d9f942e7596aa5016b50ad5efd047fe5
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 108eca209b9..50afc88efe6 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;
More information about the Bf-blender-cvs
mailing list