Blender Git Commit Log

Git Commits -> Revision 84c537e

Revision 84c537e by Sybren A. Stüvel (master)
January 27, 2020, 15:42 (GMT)
Document that tessellate_polygon() doesn't handle degenerate geometry

This 'fixes' T68554: 'API mathutils.geometry.tessellate_polygon returns
bad results sometimes' by documenting the limitations of the current
implementation.

I've also added a unit test for the function, so that any change in this
behaviour will get noticed.

No functional changes.

Commit Details:

Full Hash: 84c537e68528177ef982479f5884af07cec322b9
Parent Commit: 1094e56
Lines Changed: +40, -2

2 Modified Paths:

/source/blender/python/mathutils/mathutils_geometry.c (+2, -1) (Diff)
/tests/python/bl_pyapi_mathutils.py (+38, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021