mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-13 00:57:28 +05:00
Prevent exception in MgAdapt::MgAdapt() in case if SALOME_TMP_DIR specifies
unexciting directory
This commit is contained in:
parent
772ad1d5f4
commit
8c5da1b9d0
@ -1094,7 +1094,9 @@ std::string MgAdapt::defaultWorkingDirectory()
|
||||
{
|
||||
aTmpDir = Tmp_dir;
|
||||
}
|
||||
else {
|
||||
|
||||
if ( ! isFileExist( aTmpDir ))
|
||||
{
|
||||
#ifdef WIN32
|
||||
aTmpDir = "C:\\";
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user