Salome HOME
bos #26523 EDF 24234 - Viscous Layer
[modules/smesh.git] / src / SMESH / SMESH_Gen.cxx
index 65e59d98dfdb38e53223261b42b0937910621293..7b02701b3c72227515ad10e94bb71ca29d853e77 100644 (file)
@@ -376,7 +376,7 @@ bool SMESH_Gen::Compute(SMESH_Mesh &                aMesh,
 
           const TopoDS_Shape& aSubShape = smToCompute->GetSubShape();
           const int aShapeDim = GetShapeDim( aSubShape );
-          if ( aShapeDim < 1 || aSubShape.ShapeType() == shapeType )
+          if ( aShapeDim < 1 || aSubShape.ShapeType() <= shapeType )
             continue;
 
           // check for preview dimension limitations