]> SALOME platform Git repositories - plugins/hexoticplugin.git/commitdiff
Salome HOME
#17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9...
authoreap <eap@opencascade.com>
Fri, 8 Nov 2019 11:28:50 +0000 (14:28 +0300)
committervsr <vsr@opencascade.com>
Fri, 8 Nov 2019 12:27:02 +0000 (15:27 +0300)
src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx

index f5e23a6f8e16c9b88c4cc756a6c9ec9d5da7a17d..fb3e4cf69bba18f74c4c9b70283b7f3ce773276f 100644 (file)
@@ -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;
 }