This commit is contained in:
Zdenek Borovec 2024-09-22 00:04:53 +02:00
parent b99de74993
commit 37f4065919
2 changed files with 3 additions and 3 deletions

View file

@ -240,8 +240,8 @@ namespace Boprs
{
newVertices.AddRange(SubdivideAt(intPt));
}
if (!Utils.PointEquals(intPt, otherEdge.LeftVertex.Point) ||
Utils.PointEquals(intPt, otherEdge.RightVertex.Point))
if (!(Utils.PointEquals(intPt, otherEdge.LeftVertex.Point) ||
Utils.PointEquals(intPt, otherEdge.RightVertex.Point)))
{
newVertices.AddRange(otherEdge.SubdivideAt(intPt));
}