Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2021-02-28 02:51:48 +0300
committerHoward Trickey <howard.trickey@gmail.com>2021-02-28 02:51:48 +0300
commitf3d60c68ef469a9a9de8d5dc4d7dbbd168950ceb (patch)
tree0fcb0b4581f0d7982826b2a29b46dc471e10e899 /source/blender/bmesh
parent92743cc895dd34bdaa165679bf9d06dfa3f8cb24 (diff)
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.
Diffstat (limited to 'source/blender/bmesh')
0 files changed, 0 insertions, 0 deletions