[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())
return false;
const bool wasCapped = capOpenEdgesPolygons(edgesByPolygon);
if (wasCapped)
{
// The volume's geometry was changed, we need to collect edges again
edgesByPolygon = findOpenEdges();
}
// const bool wasCapped = capOpenEdgesPolygons(edgesByPolygon);
// if (wasCapped)
// {
// // The volume's geometry was changed, we need to collect edges again
// edgesByPolygon = findOpenEdges();
// }
const bool wasRemoved = removeOpenEdgesPolygons(edgesByPolygon);
if (!wasCapped && !wasRemoved)
if (/* !wasCapped && */!wasRemoved)
{
return false;
}