Fix for the bug 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis

This commit is contained in:
ana 2011-01-28 08:38:53 +00:00
parent 20b841039b
commit 4be7efd6bd

View File

@ -323,6 +323,8 @@ StdMeshers_CompositeSegment_1D::GetFaceSide(SMESH_Mesh& aMesh,
string(theAlgo->GetName()) != algo->GetName() ||
hypList != algo->GetUsedHypothesis(aMesh, eNext, false))
break;
if ( std::find( edges.begin(), edges.end(), eNext ) != edges.end() )
break;
if ( forward )
edges.push_back( eNext );
else