mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
In Save. Do not read the med file name from the hdf file. It is always [tmpdir][Study]_SMESH_Mesh.med.
This commit is contained in:
parent
03967e431d
commit
3718a3da88
@ -1450,6 +1450,8 @@ void SMESH_Gen_i::loadMesh(char * name, HDFfile * hdf_file,
|
||||
char *datafilename = new char[dataset->GetSize()];
|
||||
dataset->ReadFromDisk(datafilename);
|
||||
dataset->CloseOnDisk();
|
||||
MESSAGE("datafilename="<<datafilename<<" but this is ignored. We will read from "<<meshfile);
|
||||
datafilename=meshfile;
|
||||
|
||||
//********** Loading of the reference on the shape
|
||||
//********** and mesh initialization
|
||||
@ -1476,7 +1478,7 @@ void SMESH_Gen_i::loadMesh(char * name, HDFfile * hdf_file,
|
||||
sprintf(objectId, "%ld", myNewMesh->GetId());
|
||||
_SMESHCorbaObj[string("Mesh_") + string(objectId)] = iorString;
|
||||
|
||||
SCRUTE(datafilename);
|
||||
|
||||
//**********
|
||||
//********** Loading of mesh data
|
||||
if (strcmp(datafilename, "No data") != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user