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>2020-10-25 00:36:38 +0300
committerHoward Trickey <howard.trickey@gmail.com>2020-10-25 00:36:38 +0300
commit1c653a0315b04269a2e7385efad6a033ddad2420 (patch)
treea4bf24b1358d89aac2204a1978dc1cc48b54b656
parent574d711008ab430228ce26eac05e9de3b0b828f2 (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.cc2
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;
}
}