diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 01:22:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 02:21:52 +0400 |
commit | 19b1da2b7b73c227807e4fc343efd88914a624cf (patch) | |
tree | 9534a95f2d2a3a982d7c9b8e9974f80d678d213d /source/blender/blenkernel | |
parent | 7529e36f493c7fa0f61255274afdfa67a6dbd436 (diff) |
Polyfill2d: avoid calculating polygon winding (its known in all cases)
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_evaluate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c index 018cf85f9c6..cb0386b1203 100644 --- a/source/blender/blenkernel/intern/mesh_evaluate.c +++ b/source/blender/blenkernel/intern/mesh_evaluate.c @@ -1411,7 +1411,7 @@ int BKE_mesh_recalc_tessellation(CustomData *fdata, CustomData *ldata, CustomDat mul_v2_m3v3(projverts[j], axis_mat, mvert[ml->v].co); } - BLI_polyfill_calc_arena((const float (*)[2])projverts, mp_totloop, tris, arena); + BLI_polyfill_calc_arena((const float (*)[2])projverts, mp_totloop, -1, tris, arena); /* apply fill */ for (j = 0; j < totfilltri; j++) { |