From 1c653a0315b04269a2e7385efad6a033ddad2420 Mon Sep 17 00:00:00 2001 From: Howard Trickey Date: Sat, 24 Oct 2020 17:36:38 -0400 Subject: Fix T81999, Boolean Exact+Self Difference fails. A cell with winding number > 1 for the second operand was incorrectly included in the output. --- source/blender/blenlib/intern/mesh_boolean.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &winding) return true; } for (int i = 1; i < nw; ++i) { - if (winding[i] == 1) { + if (winding[i] >= 1) { return false; } } -- cgit v1.2.3