From: eap Date: Mon, 27 May 2013 13:59:56 +0000 (+0000) Subject: 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D... X-Git-Tag: V7_3_0a1~404 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a6b89f677d94febe59a969a472a8744f55f8d8f;p=modules%2Fsmesh.git 0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D or BLSurf...) Fix checkConformIgnoredAlgos() to prevent warning on hiding a local algo by a local all-dimensional algo of upper dim. --- diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index c5acd7f67..fa720985a 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -627,7 +627,9 @@ static bool checkConformIgnoredAlgos(SMESH_Mesh& aMesh, theErrors.back().Set( SMESH_Hypothesis::HYP_NOTCONFORM, algo, false ); } - // sub-algos will be hidden by a local + // sub-algos will be hidden by a local if does not support sub-meshes + if ( algo->SupportSubmeshes() ) + algo = 0; SMESH_subMeshIteratorPtr revItSub = aSubMesh->getDependsOnIterator( /*includeSelf=*/false, /*complexShapeFirst=*/true); bool checkConform2 = false;