From: eap Date: Tue, 11 Sep 2012 13:20:29 +0000 (+0000) Subject: 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes X-Git-Tag: V6_6_0a1~122 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7a940415de0444f9f371f37c3845648678f063c9;p=modules%2Fsmesh.git 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes Improve GetAlgo() --- diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 99da9f8e4..29faef596 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -1123,7 +1123,7 @@ SMESH_Algo *SMESH_Gen::GetAlgo(SMESH_Mesh & aMesh, if ( SMESH_Algo* algo3D = (SMESH_Algo*) aMesh.GetHypothesis( *solid, filter, true )) { algos3D.push_back( algo3D ); - filter.AndNot( filter.Is( algo3D )); + filter.AndNot( filter.HasName( algo3D->GetName() )); } // check compatibility of algos if ( algos3D.size() > 1 )