From: eap Date: Fri, 8 Nov 2019 11:28:50 +0000 (+0300) Subject: #17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9... X-Git-Tag: V9_4_0rc2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=79ac1977c6e3c7c448c7fbfa247c32a98a80d7aa;p=plugins%2Fhexoticplugin.git #17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9.4.0 + max_memory --- diff --git a/src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx b/src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx index f5e23a6..fb3e4cf 100644 --- a/src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx +++ b/src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx @@ -816,6 +816,16 @@ std::istream& HexoticPlugin_Hypothesis::LoadFrom(std::istream& load) } } } + else // pass old basic parameters to new advanced ones + { + SetHexesMinLevel ( _hexesMinLevel ); + SetHexesMaxLevel ( _hexesMaxLevel ); + SetHexoticIgnoreRidges ( _hexoticIgnoreRidges ); + SetHexoticInvalidElements ( _hexoticInvalidElements ); + SetHexoticSharpAngleThreshold( _hexoticSharpAngleThreshold ); + SetHexoticNbProc ( _hexoticNbProc ); + SetHexoticMaxMemory ( _hexoticMaxMemory ); + } return load; }