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:
61d9af1
)
Corrected for bug NPAL16170.
author
skl
<skl@opencascade.com>
Fri, 15 Jun 2007 05:44:11 +0000
(
05:44
+0000)
committer
skl
<skl@opencascade.com>
Fri, 15 Jun 2007 05:44:11 +0000
(
05:44
+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 493abb9081ec5b599d70a419d04d13e8343a8580..8832c08965b2be34bab6ab3570a2877bf44bb73a 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i.cxx
@@
-2552,6
+2552,7
@@
bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
}
// close hypotheses root HDF group
aTopGroup->CloseOnDisk();
+ aTopGroup = 0;
}
// --> then we should read&create algorithms
@@
-2651,6
+2652,7
@@
bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
}
// close algorithms root HDF group
aTopGroup->CloseOnDisk();
+ aTopGroup = 0;
}
// --> the rest groups should be meshes
@@
-3292,7
+3294,8
@@
bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
}
}
// close mesh group
- aTopGroup->CloseOnDisk();
+ if(aTopGroup)
+ aTopGroup->CloseOnDisk();
}
// close HDF file
aFile->CloseOnDisk();