]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
PAL19680 CEA 4.1.2: Meshers: BLSURF, GHS3D and holed shapes
authoreap <eap@opencascade.com>
Wed, 30 Apr 2008 16:44:31 +0000 (16:44 +0000)
committereap <eap@opencascade.com>
Wed, 30 Apr 2008 16:44:31 +0000 (16:44 +0000)
     fix persistence

src/GHS3DPlugin_Hypothesis.cxx

index f76ce8294d66d8709e322ed623171816eda2b703..d9d5b89fb9beb177b5417cf61e66bf65758fb995 100644 (file)
@@ -452,12 +452,25 @@ istream & GHS3DPlugin_Hypothesis::LoadFrom(istream & load)
   else
     load.clear(ios::badbit | load.rdstate());
 
-  isOK = (load >> myTextOption);
+  isOK = (load >> i);
   if (isOK)
-    ;
+    myToUseBoundaryRecoveryVersion = (bool) i;
   else
     load.clear(ios::badbit | load.rdstate());
 
+  isOK = (load >> myTextOption);
+  while (isOK) {
+    string txt;
+    if (load >> txt) {
+      myTextOption += " ";
+      myTextOption += txt;
+    }
+    else
+      isOK = false;
+  }
+//   else
+//     load.clear(ios::badbit | load.rdstate());
+
   return load;
 }