Salome HOME
bos #29483 Sub-meshes with GMSH
[plugins/gmshplugin.git] / src / GMSHPlugin / GMSHPlugin_GMSH.cxx
index 2317dd609df633bca0bb2f0241bd2000b072363e..1400ff692a3e87fe9e93dc3551bcb1334a2c8fd4 100644 (file)
@@ -110,7 +110,7 @@ bool GMSHPlugin_GMSH::CheckHypothesis (SMESH_Mesh&                          aMes
 bool GMSHPlugin_GMSH::Compute(SMESH_Mesh&         aMesh,
                               const TopoDS_Shape& aShape)
 {
-  GMSHPlugin_Mesher mesher(&aMesh, aShape);
+  GMSHPlugin_Mesher mesher(&aMesh, aShape,/*2d=*/false);
   mesher.SetParameters(dynamic_cast<const GMSHPlugin_Hypothesis*>(_hypothesis));
   return mesher.Compute();
 }