From 22f2cb0c9596d27f8079dceca3cf6f5422de95f6 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 15 Nov 2012 07:45:13 +0000 Subject: [PATCH 1/1] 0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format) Make "required groups" otional arg --- src/SMESH/SMESH_Mesh.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESH/SMESH_Mesh.hxx b/src/SMESH/SMESH_Mesh.hxx index 009f80f93..2b926f5dd 100644 --- a/src/SMESH/SMESH_Mesh.hxx +++ b/src/SMESH/SMESH_Mesh.hxx @@ -123,7 +123,7 @@ public: int CGNSToMesh(const char* theFileName, const int theMeshIndex, std::string& theMeshName); SMESH_ComputeErrorPtr GMFToMesh(const char* theFileName, - bool theMakeRequiredGroups); + bool theMakeRequiredGroups = true ); SMESH_Hypothesis::Hypothesis_Status AddHypothesis(const TopoDS_Shape & aSubShape, int anHypId) @@ -246,7 +246,7 @@ public: const SMESHDS_Mesh* mesh); void ExportGMF(const char * file, const SMESHDS_Mesh* mesh, - bool withRequiredGroups); + bool withRequiredGroups = true ); void ExportSAUV(const char *file, const char* theMeshName = NULL, bool theAutoGroups = true) throw(SALOME_Exception); -- 2.30.2