[Bf-blender-cvs] [b718d659c9a] master: Fix T70594: mathutils.geometry.tessellate_polygon flips triangles

mano-wii noreply at git.blender.org
Wed Oct 9 08:10:48 CEST 2019


Commit: b718d659c9a51a7218c161e4be1ff511abd436e8
Author: mano-wii
Date:   Wed Oct 9 16:53:53 2019 +1100
Branches: master
https://developer.blender.org/rBb718d659c9a51a7218c161e4be1ff511abd436e8

Fix T70594: mathutils.geometry.tessellate_polygon flips triangles

Some scripts will need to be updated to support this.

===================================================================

M	source/blender/blenlib/intern/scanfill.c

===================================================================

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 */



More information about the Bf-blender-cvs mailing list