Salome HOME
0022216: EDF 2613 SMESH: Projection 1D with multi-dimensional algo (Netgen 1D-2D...
[modules/smesh.git] / src / SMESH / SMESH_Gen.cxx
index c5acd7f67b6365129fd191bf7a6aa163c95696d7..fa720985a628456aa85823ac0e988fdddda7a372 100644 (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;