From 79ac1977c6e3c7c448c7fbfa247c32a98a80d7aa Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 8 Nov 2019 14:28:50 +0300 Subject: [PATCH] #17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9.4.0 + max_memory --- src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; } -- 2.39.2