]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for the bug 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composi...
authorana <ana@opencascade.com>
Fri, 28 Jan 2011 08:38:53 +0000 (08:38 +0000)
committerana <ana@opencascade.com>
Fri, 28 Jan 2011 08:38:53 +0000 (08:38 +0000)
src/StdMeshers/StdMeshers_CompositeSegment_1D.cxx

index 17161d9ef503dce7b6cff25aaa2f0ae3c137848a..df3fed095cad3d0bb2b7a8c4e062a8bca70eacfe 100644 (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