Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-12-22 00:27:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-22 00:27:07 +0400
commit1500d9962cfc5bf6bcd656188d3f5b7db07cc1e3 (patch)
tree4c35070169ae645ab72718ab95b4afe5083c0249
parentb01cbede045b8b34a6fa36bc77d83779606931d8 (diff)
error in recent commit (this is getting ridiculous),
faces were flipping the wrong way
-rw-r--r--source/blender/bmesh/tools/bmesh_wireframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_wireframe.c b/source/blender/bmesh/tools/bmesh_wireframe.c
index c9ec5a9f54d..012282f5bad 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 {