diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2020-10-25 00:44:59 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2020-10-25 00:44:59 +0300 |
commit | 05129bc821fd386b211e3e5ac981f97eb81d79e7 (patch) | |
tree | 7b4f8e8d2dda7b4622adfb897fae8110dd02fc2b | |
parent | 2f9068449f97d8a4ca1a8ccc4e0b5bdccb3bffe4 (diff) |
Fix T81999, Boolean Exact+Self Difference fails.
A cell with winding number > 1 for the second operand was incorrectly
included in the output.
-rw-r--r-- | source/blender/blenlib/intern/mesh_boolean.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/mesh_boolean.cc b/source/blender/blenlib/intern/mesh_boolean.cc index 169687cf9d1..bad0b84d10f 100644 --- a/source/blender/blenlib/intern/mesh_boolean.cc +++ b/source/blender/blenlib/intern/mesh_boolean.cc @@ -2068,7 +2068,7 @@ static bool apply_bool_op(BoolOpType bool_optype, const Array<int> &winding) return true; } for (int i = 1; i < nw; ++i) { - if (winding[i] == 1) { + if (winding[i] >= 1) { return false; } } |