Blender Git Commit Log

Git Commits -> Revision 1b6a4c1

Revision 1b6a4c1 by Bastien Montagne (master)
July 6, 2012, 07:40 (GMT)
Fix [#32003] Triangulate fails for simple case.

Main problem was in poly_rotate_plane() (which rotates a ngon to make its normal aligned with Z axis), it did not handled the case where the normal was aligned but opposite to the Z axis (which had the consequence that, as with the T mesh of the given blend, all tested new edges inside face were detected as outside, and vice-versa...).

Additionnaly, I made a mistake in previous Triangulate commit (r48243) in bm_face_goodline, which could allow a few invalid triangles in some specific cases, fixed!

And done a bit of cleanup, as I was at it.

Commit Details:

Full Hash: 1b6a4c1c9b89996ab2a5d0b228592448730a2c30
SVN Revision: 48673
Parent Commit: b41561a
Lines Changed: +44, -34

1 Modified Path:

/source/blender/bmesh/intern/bmesh_polygon.c (+44, -34) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021