Blender Git Commit Log

Git Commits -> Revision f3d60c6

Revision f3d60c6 by Howard Trickey (master)
February 27, 2021, 23:51 (GMT)
Fix T85948 Exact boolean crash with some nonplanar ngons.

Triangulating ngons could fail with the method that was being
used: projecting along the dominant normal axis and then using CDT.
It could fail if the ngon has self crossings or might be so after
the described projection.
Switched to using projection along the normal itself, and also to
using polyfill which produces some kind of triangulation no matter
what in such circumstances. This will also likely be faster if
there are a lot of ngons in the meshes, since the exact arithmetic
CDT was being used before, and now float arithmetic is used.

Commit Details:

Full Hash: f3d60c68ef469a9a9de8d5dc4d7dbbd168950ceb
Parent Commit: 92743cc
Lines Changed: +41, -86

1 Modified Path:

/source/blender/blenlib/intern/mesh_boolean.cc (+41, -86) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021