[Bf-blender-cvs] [05129bc821f] master: Fix T81999, Boolean Exact+Self Difference fails.
Howard Trickey
noreply at git.blender.org
Sat Oct 24 23:45:12 CEST 2020
Commit: 05129bc821fd386b211e3e5ac981f97eb81d79e7
Author: Howard Trickey
Date: Sat Oct 24 17:44:59 2020 -0400
Branches: master
https://developer.blender.org/rB05129bc821fd386b211e3e5ac981f97eb81d79e7
Fix T81999, Boolean Exact+Self Difference fails.
A cell with winding number > 1 for the second operand was incorrectly
included in the output.
===================================================================
M source/blender/blenlib/intern/mesh_boolean.cc
===================================================================
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;
}
}
More information about the Bf-blender-cvs
mailing list