From b67da0c17f4d27c9b5b5a3f02fb4c8fd1819ff6f Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 11 Oct 2018 15:58:03 +0200 Subject: [PATCH] Do not forget - not managed legacy MED files --- src/MEDLoader/MEDFileFieldInternal.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MEDLoader/MEDFileFieldInternal.cxx b/src/MEDLoader/MEDFileFieldInternal.cxx index d7c33b2cf..83e395db9 100644 --- a/src/MEDLoader/MEDFileFieldInternal.cxx +++ b/src/MEDLoader/MEDFileFieldInternal.cxx @@ -3214,6 +3214,8 @@ MEDFileFieldPerMesh::MEDFileFieldPerMesh(med_idt fid, MEDFileAnyTypeField1TSWith std::vector< std::pair > nbProfiles; for(auto entity : iter0->currentET()) { + //INTERP_KERNEL::AutoPtr meshName(MEDLoaderBase::buildEmptyString(MED_NAME_SIZE)); + //int nbProfile(MEDfield23nProfile(fid,nasc.getName().c_str(),getIteration(),getOrder(),entity,typmai[iter0->current()],meshCsit+1,meshName,pflName,locName)); int nbProfile(MEDfieldnProfile(fid,nasc.getName().c_str(),getIteration(),getOrder(),entity,typmai[iter0->current()],pflName,locName)); if(nbProfile>0) nbProfiles.push_back(std::pair(nbProfile,entity)); -- 2.39.2