Oops, Boolean 0 - B was equal to B with the normals flipped, not

zero.

[git-p4: depot-paths = "//depot/solvespace/": change = 1755]
solver
Jonathan Westhues 2008-05-28 02:37:54 -08:00
parent 3c9084b240
commit d5a8c431da
1 changed files with 6 additions and 2 deletions

View File

@ -475,8 +475,12 @@ triangulate:
SBsp3 *SBsp3::Insert(STriangle *tr, SMesh *instead) {
if(!this) {
if(instead && !(instead->flipNormal)) {
if(instead) {
if(instead->flipNormal) {
instead->atLeastOneDiscarded = true;
} else {
instead->AddTriangle(tr->a, tr->b, tr->c);
}
return NULL;
}