]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
In Save. Do not read the med file name from the hdf file. It is always [tmpdir][Study... br_enable_import_mesh
authorjrt <jrt>
Mon, 15 Mar 2004 17:51:25 +0000 (17:51 +0000)
committerjrt <jrt>
Mon, 15 Mar 2004 17:51:25 +0000 (17:51 +0000)
src/SMESH_I/SMESH_Gen_i.cxx

index 159700fb444f6651aa16e2656d7c07c0d2139d5e..773deda151a0587e060f5c06171999ce66ebe6b2 100644 (file)
@@ -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)