From: bourcier Date: Fri, 18 Oct 2013 14:31:13 +0000 (+0000) Subject: Use the GMF file name with its extension in the argument --in. X-Git-Tag: V7_3_0a1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb7a0778841a195177e7cd7acbeb76b9c041047c;p=plugins%2Fhybridplugin.git 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. --- 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;