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-03-14 03:23:14 +0300
committerHoward Trickey <howard.trickey@gmail.com>2021-03-14 03:23:14 +0300
commite8e4a795122a10dfa0b10c8e91247a1ab3288319 (patch)
treefd796df880acca236fc942e440f4df2d2f9b8cad /source/blender/blenlib/intern
parent1f8d27a191c944faf8a03dc3247f2a827fac866b (diff)
Fix T86390 Exact Boolean crash.
The code has to keep track of "zero volume" cells and I forgot that there were cases where that needed be be invalidated.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r--source/blender/blenlib/intern/mesh_boolean.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/mesh_boolean.cc b/source/blender/blenlib/intern/mesh_boolean.cc
index cd7d0a812e4..bc12ff1a652 100644
--- a/source/blender/blenlib/intern/mesh_boolean.cc
+++ b/source/blender/blenlib/intern/mesh_boolean.cc
@@ -408,6 +408,7 @@ class Cell {
void add_patch(int p)
{
patches_.add(p);
+ zero_volume_ = false; /* If it was true before, it no longer is. */
}
const Set<int> &patches() const