From: Anthony Geay Date: Thu, 4 Aug 2016 15:42:19 +0000 (+0200) Subject: Correction of bug for in situ X-Git-Tag: SHAPER_2.7.0~15^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1acae483cb627a6ca84344fab0f57229fd43ed56;p=modules%2Fparavis.git Correction of bug for in situ --- diff --git a/src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx b/src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx index 30a1c73e..afa6ca1e 100644 --- a/src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx +++ b/src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx @@ -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);