From 40222f714b553825ff2fe97d0b42bd5cf578250d Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 13 Dec 2013 08:53:06 +0000 Subject: [PATCH] Little bug : missing info on components during field spliting when the loading is done only the first time. --- src/MEDLoader/MEDFileField.cxx | 2 ++ 1 file changed, 2 insertions(+) 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++) { -- 2.39.2