From: ageay Date: Fri, 13 Dec 2013 08:53:06 +0000 (+0000) Subject: Little bug : missing info on components during field spliting when the loading is... X-Git-Tag: V7_3_0~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=40222f714b553825ff2fe97d0b42bd5cf578250d;p=modules%2Fmed.git Little bug : missing info on components during field spliting when the loading is done only the first time. --- diff --git a/src/MEDLoader/MEDFileField.cxx b/src/MEDLoader/MEDFileField.cxx index 278c7168f..b68147e4b 100644 --- a/src/MEDLoader/MEDFileField.cxx +++ b/src/MEDLoader/MEDFileField.cxx @@ -4137,6 +4137,8 @@ void MEDFileAnyTypeField1TSWithoutSDA::updateData(int newLgth, const std::vector throw INTERP_KERNEL::Exception("MEDFileAnyTypeField1TSWithoutSDA::updateData : internal error 1 !"); MEDCouplingAutoRefCountObjectPtr newArr=createNewEmptyDataArrayInstance(); newArr->alloc(newLgth,getNumberOfComponents()); + if(oldArr) + newArr->copyStringInfoFrom(*oldArr); int pos=0; for(std::vector< std::pair >::const_iterator it=oldStartStops.begin();it!=oldStartStops.end();it++) {