From bb7a0778841a195177e7cd7acbeb76b9c041047c Mon Sep 17 00:00:00 2001 From: bourcier Date: Fri, 18 Oct 2013 14:31:13 +0000 Subject: [PATCH] Use the GMF file name with its extension in the argument --in. Otherwise MG-Tetra does not find the mesh if only its base name without extension is provided. It is the case with extra option as text --volume_proximity_layers 2 for instance. --- src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index 49249a0..65e2cf9 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -3709,7 +3709,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, TCollection_AsciiString cmd = TCollection_AsciiString((char*)GHS3DPlugin_Hypothesis::CommandToRun( _hyp, false ).c_str()); - cmd += TCollection_AsciiString(" --in ") + aGenericName; + cmd += TCollection_AsciiString(" --in ") + aGMFFileName; if ( nbEnforcedVertices + nbEnforcedNodes) cmd += TCollection_AsciiString(" --required_vertices ") + aGenericNameRequired; cmd += TCollection_AsciiString(" --out ") + aResultFileName; -- 2.39.2