diff options
Diffstat (limited to 'source/blender/blenlib/intern/polyfill2d.c')
-rw-r--r-- | source/blender/blenlib/intern/polyfill2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/polyfill2d.c b/source/blender/blenlib/intern/polyfill2d.c index 0b1b461ff73..6dff597c530 100644 --- a/source/blender/blenlib/intern/polyfill2d.c +++ b/source/blender/blenlib/intern/polyfill2d.c @@ -400,7 +400,7 @@ void BLI_polyfill_calc_ex( pf.tris_tot = 0; if ((coords_tot < 3) || - cross_poly_v2((int)coords_tot, (float(*)[2])coords) > 0.0f) + cross_poly_v2(coords, coords_tot) > 0.0f) { for (i = 0; i < coords_tot; i++) { indices[i] = i; |