mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
#17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9.4.0 + max_memory
This commit is contained in:
parent
db1df018eb
commit
5166ed186f
@ -4034,6 +4034,9 @@ SALOMEDS::TMPFile* SMESH_Gen_i::Save( SALOMEDS::SComponent_ptr theComponent,
|
|||||||
const char* theURL,
|
const char* theURL,
|
||||||
bool isMultiFile )
|
bool isMultiFile )
|
||||||
{
|
{
|
||||||
|
// localizing
|
||||||
|
Kernel_Utils::Localizer loc;
|
||||||
|
|
||||||
if (!myStudyContext)
|
if (!myStudyContext)
|
||||||
UpdateStudy();
|
UpdateStudy();
|
||||||
|
|
||||||
@ -5048,6 +5051,9 @@ bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
|
|||||||
const char* theURL,
|
const char* theURL,
|
||||||
bool isMultiFile )
|
bool isMultiFile )
|
||||||
{
|
{
|
||||||
|
// localizing
|
||||||
|
Kernel_Utils::Localizer loc;
|
||||||
|
|
||||||
//if (!myStudyContext)
|
//if (!myStudyContext)
|
||||||
UpdateStudy();
|
UpdateStudy();
|
||||||
SALOMEDS::Study_var aStudy = getStudyServant();
|
SALOMEDS::Study_var aStudy = getStudyServant();
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include "SMESH_Gen_i.hxx"
|
#include "SMESH_Gen_i.hxx"
|
||||||
#include "SMESH_MeshEditor_i.hxx"
|
#include "SMESH_MeshEditor_i.hxx"
|
||||||
|
|
||||||
|
#include <Basics_Utils.hxx>
|
||||||
#include <SALOMEDS_wrap.hxx>
|
#include <SALOMEDS_wrap.hxx>
|
||||||
|
|
||||||
#include <LDOMParser.hxx>
|
#include <LDOMParser.hxx>
|
||||||
@ -699,6 +700,9 @@ Engines::TMPFile* SMESH_Gen_i::DumpPython (CORBA::Boolean isPublished,
|
|||||||
CORBA::Boolean isMultiFile,
|
CORBA::Boolean isMultiFile,
|
||||||
CORBA::Boolean& isValidScript)
|
CORBA::Boolean& isValidScript)
|
||||||
{
|
{
|
||||||
|
// localizing
|
||||||
|
Kernel_Utils::Localizer loc;
|
||||||
|
|
||||||
SALOMEDS::Study_var aStudy = getStudyServant();
|
SALOMEDS::Study_var aStudy = getStudyServant();
|
||||||
if (CORBA::is_nil(aStudy))
|
if (CORBA::is_nil(aStudy))
|
||||||
return new Engines::TMPFile(0);
|
return new Engines::TMPFile(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user