Fix T81999, Boolean Exact+Self Difference fails.

A cell with winding number > 1 for the second operand was incorrectly
included in the output.
This commit is contained in:
Howard Trickey 2020-10-24 17:36:38 -04:00
parent 574d711008
commit 1c653a0315
Notes: blender-bot 2023-02-14 01:52:41 +01:00
Referenced by issue #82460, Color Management Use Curves do not update when UV Editor is presented
Referenced by issue #81999, Boolean Exact and Self produce artifacts and wrong operation order with operand that has intersecting elements
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}