[Bf-blender-cvs] [77382547d67] temp-lanpr-cleanup: Fix T69600: Bridge edges creates UV's with wrong rotation
Campbell Barton
noreply at git.blender.org
Wed Sep 25 03:48:43 CEST 2019
Commit: 77382547d672f6bce8b85573f3c1c45074465d51
Author: Campbell Barton
Date: Fri Sep 20 18:29:19 2019 +1000
Branches: temp-lanpr-cleanup
https://developer.blender.org/rB77382547d672f6bce8b85573f3c1c45074465d51
Fix T69600: Bridge edges creates UV's with wrong rotation
===================================================================
M source/blender/bmesh/operators/bmo_bridge.c
===================================================================
diff --git a/source/blender/bmesh/operators/bmo_bridge.c b/source/blender/bmesh/operators/bmo_bridge.c
index 5403043efb4..bad5036f6cf 100644
--- a/source/blender/bmesh/operators/bmo_bridge.c
+++ b/source/blender/bmesh/operators/bmo_bridge.c
@@ -400,7 +400,7 @@ static void bridge_loop_pair(BMesh *bm,
f_example = l_a ? l_a->f : (l_b ? l_b->f : NULL);
if (v_b != v_b_next) {
- BMVert *v_arr[4] = {v_a, v_b, v_b_next, v_a_next};
+ BMVert *v_arr[4] = {v_b, v_b_next, v_a_next, v_a};
f = BM_face_exists(v_arr, 4);
if (f == NULL) {
/* copy if loop data if its is missing on one ring */
@@ -425,7 +425,7 @@ static void bridge_loop_pair(BMesh *bm,
}
}
else {
- BMVert *v_arr[3] = {v_a, v_b, v_a_next};
+ BMVert *v_arr[3] = {v_b, v_a_next, v_a};
f = BM_face_exists(v_arr, 3);
if (f == NULL) {
/* fan-fill a triangle */
More information about the Bf-blender-cvs
mailing list