From: jrt Date: Mon, 15 Mar 2004 17:51:25 +0000 (+0000) Subject: In Save. Do not read the med file name from the hdf file. It is always [tmpdir][Study... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbr_enable_import_mesh;p=modules%2Fsmesh.git In Save. Do not read the med file name from the hdf file. It is always [tmpdir][Study]_SMESH_Mesh.med. --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 159700fb4..773deda15 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -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="<GetId()); _SMESHCorbaObj[string("Mesh_") + string(objectId)] = iorString; - SCRUTE(datafilename); + //********** //********** Loading of mesh data if (strcmp(datafilename, "No data") != 0)