mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +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