mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-31 03:20: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())
|
for (; itA.More(); itA.Next())
|
||||||
{
|
{
|
||||||
// there are objects of different type among the ancestors of edge
|
// 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;
|
continue;
|
||||||
|
|
||||||
// Get ordered edges and find index of anE in a sequence
|
// Get ordered edges and find index of anE in a sequence
|
||||||
@ -290,8 +290,7 @@ namespace {
|
|||||||
continue; // too few edges
|
continue; // too few edges
|
||||||
}
|
}
|
||||||
else if ( edges.size() == 4 ) {
|
else if ( edges.size() == 4 ) {
|
||||||
int oppIndex = edgeIndex + 2;
|
int oppIndex = ( edgeIndex + 2 ) % 4;
|
||||||
if ( oppIndex > 3 ) oppIndex -= 4;
|
|
||||||
anOppE = edges[ oppIndex ];
|
anOppE = edges[ oppIndex ];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user