From c6e950cef64cceb8064fe8b80a0a4270583e9bf2 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 30 Apr 2008 16:44:31 +0000 Subject: [PATCH] PAL19680 CEA 4.1.2: Meshers: BLSURF, GHS3D and holed shapes fix persistence --- src/GHS3DPlugin_Hypothesis.cxx | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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; } -- 2.39.2