From b718d659c9a51a7218c161e4be1ff511abd436e8 Mon Sep 17 00:00:00 2001 From: mano-wii Date: Wed, 9 Oct 2019 16:53:53 +1100 Subject: Fix T70594: mathutils.geometry.tessellate_polygon flips triangles Some scripts will need to be updated to support this. --- source/blender/blenlib/intern/scanfill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c index 08c3653153e..c9b0eb3ed5e 100644 --- a/source/blender/blenlib/intern/scanfill.c +++ b/source/blender/blenlib/intern/scanfill.c @@ -907,7 +907,7 @@ unsigned int BLI_scanfill_calc_ex(ScanFillContext *sf_ctx, const int flag, const return 0; } - axis_dominant_v3_to_m3(mat_2d, n); + axis_dominant_v3_to_m3_negate(mat_2d, n); } /* STEP 1: COUNT POLYS */ -- cgit v1.2.3