[bos #42217][EDF 28921] Horseshoe with bodyfitting. Commented open edges capping because of producing null nodes.

This commit is contained in:
Konstantin Leontev 2024-08-26 16:26:42 +01:00
parent a605c12d81
commit 37de8d765a

View File

@ -3509,15 +3509,15 @@ bool Hexahedron::_volumeDef::fixOpenEdgesPolygons()
if (edgesByPolygon.empty()) if (edgesByPolygon.empty())
return false; return false;
const bool wasCapped = capOpenEdgesPolygons(edgesByPolygon); // const bool wasCapped = capOpenEdgesPolygons(edgesByPolygon);
if (wasCapped) // if (wasCapped)
{ // {
// The volume's geometry was changed, we need to collect edges again // // The volume's geometry was changed, we need to collect edges again
edgesByPolygon = findOpenEdges(); // edgesByPolygon = findOpenEdges();
} // }
const bool wasRemoved = removeOpenEdgesPolygons(edgesByPolygon); const bool wasRemoved = removeOpenEdgesPolygons(edgesByPolygon);
if (!wasCapped && !wasRemoved) if (/* !wasCapped && */!wasRemoved)
{ {
return false; return false;
} }