diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2020-02-29 21:23:44 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2020-02-29 21:26:27 +0300 |
commit | cb8b424c6bff09bd0f7a8f66c2321c803c6e0bdd (patch) | |
tree | 1fd5cd1a6cfff0b0cfbe48f4f792920b62232a0e /source/blender/python | |
parent | a52eb7489f8daad8f68625b773276906a8fffd24 (diff) |
Made BLI_delaunay_2d_cdt_calc better at tiny feature elimination.
The 'random' unit tests and some examples from the new boolean code
triggered asserts and crashes. This fixes those.
There is a new flag in the input that optionally disables a pass
over input to snap segment edges to other segments.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/mathutils/mathutils_geometry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c index 56bb60bf921..6474275ecaf 100644 --- a/source/blender/python/mathutils/mathutils_geometry.c +++ b/source/blender/python/mathutils/mathutils_geometry.c @@ -1649,6 +1649,7 @@ static PyObject *M_Geometry_delaunay_2d_cdt(PyObject *UNUSED(self), PyObject *ar in.faces_start_table = in_faces_start_table; in.faces_len_table = in_faces_len_table; in.epsilon = epsilon; + in.skip_input_modify = false; res = BLI_delaunay_2d_cdt_calc(&in, output_type); |