From 1df377329691d7cd720b0ed997efc352aa3d773a Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 7 Nov 2012 08:23:53 +0000 Subject: [PATCH] 0021942: [CEA 700] Behavior of the Mesh.Triangle(algo=smesh.NETGEN) command In checkConformIgnoredAlgos(), report on hiding algo --- src/SMESH/SMESH_Gen.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index c18ace194..f70bb64fc 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -589,6 +589,8 @@ static bool checkConformIgnoredAlgos(SMESH_Mesh& aMesh, if ( aLocIgnoAlgo ) // algo is hidden by a local algo of upper dim { + theErrors.push_back( SMESH_Gen::TAlgoStateError() ); + theErrors.back().Set( SMESH_Hypothesis::HYP_HIDDEN_ALGO, algo, false ); INFOS( "Local <" << algo->GetName() << "> is hidden by local <" << aLocIgnoAlgo->GetName() << ">"); } @@ -601,6 +603,8 @@ static bool checkConformIgnoredAlgos(SMESH_Mesh& aMesh, if ( dim < aMaxGlobIgnoDim ) { // algo is hidden by a global algo + theErrors.push_back( SMESH_Gen::TAlgoStateError() ); + theErrors.back().Set( SMESH_Hypothesis::HYP_HIDDEN_ALGO, algo, true ); INFOS( ( isGlobal ? "Global" : "Local" ) << " <" << algo->GetName() << "> is hidden by global <" << aGlobIgnoAlgo->GetName() << ">"); -- 2.39.2