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_5_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?p=plugins%2Fhexoticplugin.git;a=commitdiff_plain;h=2d556b89ec597c0345792c67f6df19a56750efa6 #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; }