From 7a940415de0444f9f371f37c3845648678f063c9 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 11 Sep 2012 13:20:29 +0000 Subject: [PATCH] 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes Improve GetAlgo() --- src/SMESH/SMESH_Gen.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.39.2