mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
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:
parent
4443257370
commit
6a6b89f677
@ -627,7 +627,9 @@ static bool checkConformIgnoredAlgos(SMESH_Mesh& aMesh,
|
|||||||
theErrors.back().Set( SMESH_Hypothesis::HYP_NOTCONFORM, algo, false );
|
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 =
|
SMESH_subMeshIteratorPtr revItSub =
|
||||||
aSubMesh->getDependsOnIterator( /*includeSelf=*/false, /*complexShapeFirst=*/true);
|
aSubMesh->getDependsOnIterator( /*includeSelf=*/false, /*complexShapeFirst=*/true);
|
||||||
bool checkConform2 = false;
|
bool checkConform2 = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user