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.
This commit is contained in:
eap 2013-05-27 13:59:56 +00:00
parent 4443257370
commit 6a6b89f677

View File

@ -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 <algo>
// sub-algos will be hidden by a local <algo> if <algo> does not support sub-meshes
if ( algo->SupportSubmeshes() )
algo = 0;
SMESH_subMeshIteratorPtr revItSub =
aSubMesh->getDependsOnIterator( /*includeSelf=*/false, /*complexShapeFirst=*/true);
bool checkConform2 = false;