Blender Git Loki

Git Commits -> Revision 88e4fa9

Revision 88e4fa9 by Howard Trickey (temp-gpencil-autokey)
March 1, 2021, 07:46 (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: 88e4fa916b6def0b5afdad8216803a3e3cfa3927
Parent Commit: 278f315
Committed By: Antonio Vazquez
Lines Changed: +41, -86

1 Modified Path:

/source/blender/blenlib/intern/mesh_boolean.cc (+41, -86) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021