diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2020-10-25 00:36:38 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2020-10-25 00:36:38 +0300 |
commit | 1c653a0315b04269a2e7385efad6a033ddad2420 (patch) | |
tree | a4bf24b1358d89aac2204a1978dc1cc48b54b656 | |
parent | 574d711008ab430228ce26eac05e9de3b0b828f2 (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; } } |