mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 02:10:32 +05:00
0021123: EDF 1734 SMESH: Bug with propagation hypothesis
This commit is contained in:
parent
50b08dce3d
commit
ab928f3773
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user