From: eap Date: Wed, 30 Apr 2008 16:44:31 +0000 (+0000) Subject: PAL19680 CEA 4.1.2: Meshers: BLSURF, GHS3D and holed shapes X-Git-Tag: V4_1_2rc3~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c6e950cef64cceb8064fe8b80a0a4270583e9bf2;p=plugins%2Fghs3dplugin.git PAL19680 CEA 4.1.2: Meshers: BLSURF, GHS3D and holed shapes fix persistence --- diff --git a/src/GHS3DPlugin_Hypothesis.cxx b/src/GHS3DPlugin_Hypothesis.cxx index f76ce82..d9d5b89 100644 --- a/src/GHS3DPlugin_Hypothesis.cxx +++ b/src/GHS3DPlugin_Hypothesis.cxx @@ -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; }