[Bf-blender-cvs] [1500d99] master: error in recent commit (this is getting ridiculous), faces were flipping the wrong way

Campbell Barton noreply at git.blender.org
Sat Dec 21 21:28:14 CET 2013


Commit: 1500d9962cfc5bf6bcd656188d3f5b7db07cc1e3
Author: Campbell Barton
Date:   Sun Dec 22 07:27:07 2013 +1100
http://developer.blender.org/rB1500d9962cfc5bf6bcd656188d3f5b7db07cc1e3

error in recent commit (this is getting ridiculous),
faces were flipping the wrong way

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

M	source/blender/bmesh/tools/bmesh_wireframe.c

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

diff --git a/source/blender/bmesh/tools/bmesh_wireframe.c b/source/blender/bmesh/tools/bmesh_wireframe.c
index c9ec5a9..012282f 100644
--- a/source/blender/bmesh/tools/bmesh_wireframe.c
+++ b/source/blender/bmesh/tools/bmesh_wireframe.c
@@ -301,8 +301,8 @@ void BM_mesh_wireframe(
 			else {
 				madd_v3_v3v3fl(tvec, v_src->co, v_src->no, ofs_mid * fac);
 
-				madd_v3_v3v3fl(verts_neg[i]->co, tvec, v_src->no, (ofs_mid - ofs_orig) * fac);
-				madd_v3_v3v3fl(verts_pos[i]->co, tvec, v_src->no,  (ofs_mid - ofs_new) * fac);
+				madd_v3_v3v3fl(verts_neg[i]->co, tvec, v_src->no, (ofs_orig - ofs_mid) * fac);
+				madd_v3_v3v3fl(verts_pos[i]->co, tvec, v_src->no,  (ofs_new - ofs_mid) * fac);
 			}
 		}
 		else {




More information about the Bf-blender-cvs mailing list