From: bourcier Date: Wed, 13 Nov 2013 13:34:31 +0000 (+0000) Subject: Use the GMF file name with its extension in the argument --in. X-Git-Tag: V7_3_0a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3a1f06a58506716a41eb247d66dd2d9ee1081509;p=plugins%2Fghs3dplugin.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 96301ef..5059526 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -3516,7 +3516,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, TCollection_AsciiString cmd( (char*)GHS3DPlugin_Hypothesis::CommandToRun( _hyp ).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;