]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL11735:
authorenk <enk@opencascade.com>
Fri, 10 Mar 2006 13:29:47 +0000 (13:29 +0000)
committerenk <enk@opencascade.com>
Fri, 10 Mar 2006 13:29:47 +0000 (13:29 +0000)
The second saving in hdf file corrupts the fields

src/VISU_I/VISU_Result_i.cc

index e911129b731b03f34f7de87a7301ed3861ee207d..9745df0151ee25f8c58b112988c278ff423ef07f 100644 (file)
@@ -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",