From: enk Date: Fri, 10 Mar 2006 13:29:47 +0000 (+0000) Subject: Fix for Bug IPAL11735: X-Git-Tag: mergeto_trunk_13Mar06~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e66d0219d486efe1d1a182f61d3bcb2ef97ad5fa;p=modules%2Fvisu.git Fix for Bug IPAL11735: The second saving in hdf file corrupts the fields --- diff --git a/src/VISU_I/VISU_Result_i.cc b/src/VISU_I/VISU_Result_i.cc index e911129b..9745df01 100644 --- a/src/VISU_I/VISU_Result_i.cc +++ b/src/VISU_I/VISU_Result_i.cc @@ -1266,12 +1266,16 @@ Restore(SALOMEDS::SObject_ptr theSObject, myInput->BuildEntities(); if(myIsBuildFields){ myInput->BuildFields(); + myIsFieldsDone = true; if(myIsBuildMinMax){ myInput->BuildMinMax(); + myIsMinMaxDone = true; } } - if(myIsBuildGroups) + if(myIsBuildGroups){ myInput->BuildGroups(); + myIsGroupsDone = true; + } QString aComment; aComment.sprintf("myComment=%s;myType=%d;myFileName=%s;myInitFileName=%s",