Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7436d5f
)
0021256: EDF STUDY: Python dump in a single file (continued)
author
eap
<eap@opencascade.com>
Tue, 3 May 2011 16:02:33 +0000
(16:02 +0000)
committer
eap
<eap@opencascade.com>
Tue, 3 May 2011 16:02:33 +0000
(16:02 +0000)
"import salome" in multyfile mode
src/SMESH_I/SMESH_DumpPython.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_DumpPython.cxx
b/src/SMESH_I/SMESH_DumpPython.cxx
index 34650357d5d8f44672ed4f23427e21af7d70a467..63fd737e655c9a769f8bbb711ab0b6070895d661 100644
(file)
--- a/
src/SMESH_I/SMESH_DumpPython.cxx
+++ b/
src/SMESH_I/SMESH_DumpPython.cxx
@@
-854,8
+854,10
@@
TCollection_AsciiString SMESH_Gen_i::DumpPython_impl
}
// set initial part of aSript
- TCollection_AsciiString initPart;
- initPart += helper + "import " + aSmeshpy + ", SMESH, SALOMEDS\n";
+ TCollection_AsciiString initPart = "import ";
+ if ( isMultiFile )
+ initPart += helper + "salome, ";
+ initPart += aSmeshpy + ", SMESH, SALOMEDS\n";
if ( importGeom && isMultiFile )
{
initPart += ("\n## import GEOM dump file ## \n"