0021123: EDF 1734 SMESH: Bug with propagation hypothesis

This commit is contained in:
eap 2011-01-28 10:29:23 +00:00
parent 50b08dce3d
commit ab928f3773

View File

@ -268,7 +268,7 @@ namespace {
for (; itA.More(); itA.Next())
{
// there are objects of different type among the ancestors of edge
if ( itA.Value().ShapeType() != TopAbs_WIRE || !checkedShapes.Add( itA.Value() ))
if ( itA.Value().ShapeType() != TopAbs_WIRE /*|| !checkedShapes.Add( itA.Value() )*/)
continue;
// Get ordered edges and find index of anE in a sequence
@ -290,8 +290,7 @@ namespace {
continue; // too few edges
}
else if ( edges.size() == 4 ) {
int oppIndex = edgeIndex + 2;
if ( oppIndex > 3 ) oppIndex -= 4;
int oppIndex = ( edgeIndex + 2 ) % 4;
anOppE = edges[ oppIndex ];
}
else {