Oops, Boolean 0 - B was equal to B with the normals flipped, not
zero. [git-p4: depot-paths = "//depot/solvespace/": change = 1755]solver
parent
3c9084b240
commit
d5a8c431da
6
mesh.cpp
6
mesh.cpp
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue