mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Forcing removal of temporary output file for MG_adapt
This commit is contained in:
parent
f0898a6840
commit
ea6c739385
@ -956,6 +956,15 @@ std::string MgAdapt::getCommandToRun()
|
||||
cmd+= " --in "+ meshIn;
|
||||
meshFormatOutputMesh = getFileName()+".mesh";
|
||||
tmpFilesToBeDeleted.push_back(meshFormatOutputMesh);
|
||||
if ( isFileExist( meshFormatOutputMesh )){
|
||||
int notOk;
|
||||
errStr=removeFile(meshFormatOutputMesh , notOk);
|
||||
if (notOk)
|
||||
{
|
||||
appendMsgToLogFile(errStr);
|
||||
}
|
||||
}
|
||||
|
||||
cmd+= " --out "+ meshFormatOutputMesh;
|
||||
if (useLocalMap || useConstantValue) cmd+= " --sizemap "+ solFileIn;
|
||||
else // (useBackgroundMap)
|
||||
|
Loading…
Reference in New Issue
Block a user