Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
03967e4
)
In Save. Do not read the med file name from the hdf file. It is always [tmpdir][Study...
br_enable_import_mesh
author
jrt
<jrt>
Mon, 15 Mar 2004 17:51:25 +0000
(17:51 +0000)
committer
jrt
<jrt>
Mon, 15 Mar 2004 17:51:25 +0000
(17:51 +0000)
src/SMESH_I/SMESH_Gen_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i.cxx
b/src/SMESH_I/SMESH_Gen_i.cxx
index 159700fb444f6651aa16e2656d7c07c0d2139d5e..773deda151a0587e060f5c06171999ce66ebe6b2 100644
(file)
--- 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();
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
//********** 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;
sprintf(objectId, "%ld", myNewMesh->GetId());
_SMESHCorbaObj[string("Mesh_") + string(objectId)] = iorString;
- SCRUTE(datafilename);
+
//**********
//********** Loading of mesh data
if (strcmp(datafilename, "No data") != 0)
//**********
//********** Loading of mesh data
if (strcmp(datafilename, "No data") != 0)