From e66d0219d486efe1d1a182f61d3bcb2ef97ad5fa Mon Sep 17 00:00:00 2001 From: enk Date: Fri, 10 Mar 2006 13:29:47 +0000 Subject: [PATCH] Fix for Bug IPAL11735: The second saving in hdf file corrupts the fields --- src/VISU_I/VISU_Result_i.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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", -- 2.39.2