From: eap Date: Fri, 26 Aug 2016 17:26:35 +0000 (+0300) Subject: 23324: REGRESSION: SMESH: Failure to mesh a geometry with MG-Tetra algo. X-Git-Tag: V8_1_0rc1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ff1f95280aba10d302adbb1e1fd8359b5bef50e4;p=plugins%2Fghs3dplugin.git 23324: REGRESSION: SMESH: Failure to mesh a geometry with MG-Tetra algo. --- diff --git a/src/GHS3DPlugin/MG_Tetra_API.cxx b/src/GHS3DPlugin/MG_Tetra_API.cxx index 7b2c5a8..37a979d 100644 --- a/src/GHS3DPlugin/MG_Tetra_API.cxx +++ b/src/GHS3DPlugin/MG_Tetra_API.cxx @@ -634,10 +634,11 @@ bool MG_Tetra_API::LibData::Compute() if (ret != STATUS_OK) MG_Error( "unable to get resulting mesh"); ////////////////////////////////////////////////////////////////////////////////////////// - // file = "/tmp/ghs3d_OUT.mesh"; - // mesh_write_mesh( _tetra_mesh,file); - // std::cout << std::endl << std::endl << "Write " << file << std::endl << std::endl << std::endl; - + // { + // const char* file = "/tmp/ghs3d_OUT.mesh"; + // mesh_write_mesh( _tetra_mesh,file); + // std::cout << std::endl << std::endl << "Write " << file << std::endl << std::endl << std::endl; + // } return true; } @@ -734,6 +735,8 @@ bool MG_Tetra_API::Compute( const std::string& cmdLine, std::string& errStr ) value = ""; while ( i+1 < args.size() && args[i+1][0] != '-' ) { + if ( strncmp( "1>", args[i+1].c_str(), 2 ) == 0 ) + break; if ( !value.empty() ) value += " "; value += args[++i]; }