mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-09 06:47:30 +05:00
Suppress dependency from SALOMEDSImpl
This commit is contained in:
parent
98e9e947bd
commit
5e37ea4dc8
@ -7,7 +7,6 @@
|
|||||||
#include "SMESH_PythonDump.hxx"
|
#include "SMESH_PythonDump.hxx"
|
||||||
#include "SMESH_Gen_i.hxx"
|
#include "SMESH_Gen_i.hxx"
|
||||||
#include "SMESH_Filter_i.hxx"
|
#include "SMESH_Filter_i.hxx"
|
||||||
#include "SALOMEDSImpl_Study.hxx"
|
|
||||||
|
|
||||||
#include <TColStd_HSequenceOfInteger.hxx>
|
#include <TColStd_HSequenceOfInteger.hxx>
|
||||||
#include <TCollection_AsciiString.hxx>
|
#include <TCollection_AsciiString.hxx>
|
||||||
@ -312,9 +311,13 @@ Engines::TMPFile* SMESH_Gen_i::DumpPython (CORBA::Object_ptr theStudy,
|
|||||||
TCollection_AsciiString aSavedTrace (oldValue);
|
TCollection_AsciiString aSavedTrace (oldValue);
|
||||||
|
|
||||||
// Add trace of API methods calls and replace study entries by names
|
// Add trace of API methods calls and replace study entries by names
|
||||||
|
//TCollection_AsciiString aScript =
|
||||||
|
// SALOMEDSImpl_Study::GetDumpStudyComment("SMESH") + "\n\n" +
|
||||||
|
// DumpPython_impl(aStudy->StudyId(), aMap, aMapNames, isPublished, isValidScript, aSavedTrace);
|
||||||
TCollection_AsciiString aScript =
|
TCollection_AsciiString aScript =
|
||||||
SALOMEDSImpl_Study::GetDumpStudyComment("SMESH") + "\n\n" +
|
"### This file is generated by SALOME automatically by dump python functionality of SMESH component\n\n";
|
||||||
DumpPython_impl(aStudy->StudyId(), aMap, aMapNames, isPublished, isValidScript, aSavedTrace);
|
aScript += DumpPython_impl(aStudy->StudyId(), aMap, aMapNames,
|
||||||
|
isPublished, isValidScript, aSavedTrace);
|
||||||
|
|
||||||
int aLen = aScript.Length();
|
int aLen = aScript.Length();
|
||||||
unsigned char* aBuffer = new unsigned char[aLen+1];
|
unsigned char* aBuffer = new unsigned char[aLen+1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user