]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Correction of bug for in situ
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 4 Aug 2016 15:42:19 +0000 (17:42 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 4 Aug 2016 15:42:19 +0000 (17:42 +0200)
src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx

index 30a1c73eae03e899474eec9084d5f64c8bbdabf5..afa6ca1e2f7aa5be58f562969dcdc6eb733e3161 100644 (file)
@@ -1105,6 +1105,8 @@ int MEDFileFieldRepresentationTree::getMaxNumberOfTimeSteps() const
 
 void MEDFileFieldRepresentationTree::loadInMemory(MEDFileFields *fields, MEDFileMeshes *meshes)
 {
+  _ms=meshes;  meshes->incrRef();
+  _fields=fields; fields->incrRef();
   if(!((MEDCoupling::MEDFileFields *)fields))
     {
       fields=BuildFieldFromMeshes(meshes);