diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-06 12:21:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-06 12:21:19 +0300 |
commit | 28d712b238af6b270675859d686bd99b16d2083e (patch) | |
tree | 934832308df8b56c1de4446d7f2396fb427d6b33 /source/blender | |
parent | 72565fbf30378f1100da4c24e4e365b017fa447a (diff) |
Remove redundant face-flipping check
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_evaluate.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c index d17ca751c5e..7a0331b9c87 100644 --- a/source/blender/blenkernel/intern/mesh_evaluate.c +++ b/source/blender/blenkernel/intern/mesh_evaluate.c @@ -2426,11 +2426,6 @@ int BKE_mesh_recalc_tessellation( l2 = mp_loopstart + tri[1]; l3 = mp_loopstart + tri[2]; - /* sort loop indices to ensure winding is correct */ - if (l1 > l2) SWAP(unsigned int, l1, l2); - if (l2 > l3) SWAP(unsigned int, l2, l3); - if (l1 > l2) SWAP(unsigned int, l1, l2); - mf->v1 = mloop[l1].v; mf->v2 = mloop[l2].v; mf->v3 = mloop[l3].v; |