Fix incorrect condition ordering that causes a crash.
parent
f5d8b1dc6b
commit
a75bf6e216
|
@ -978,7 +978,7 @@ void SKdNode::MakeCertainEdgesInto(SEdgeList *sel, int how, bool coplanarIsInter
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EMPHASIZED_EDGES:
|
case EMPHASIZED_EDGES:
|
||||||
if(tr->meta.face != info.tr->meta.face && info.count == 1) {
|
if(info.count == 1 && tr->meta.face != info.tr->meta.face) {
|
||||||
if(CheckAndAddTrianglePair(&edgeTris, tr, info.tr))
|
if(CheckAndAddTrianglePair(&edgeTris, tr, info.tr))
|
||||||
break;
|
break;
|
||||||
// The two triangles that join at this edge come from
|
// The two triangles that join at this edge come from
|
||||||
|
|
Loading…
Reference in New Issue