Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a52c65c
)
Additional fix for issue 0013373: EDF PAL 273 : Option Single/Multi file dump
author
ouv
<ouv@opencascade.com>
Wed, 30 Mar 2011 07:27:32 +0000
(07:27 +0000)
committer
ouv
<ouv@opencascade.com>
Wed, 30 Mar 2011 07:27:32 +0000
(07:27 +0000)
src/GEOM/GEOM_Engine.cxx
patch
|
blob
|
history
diff --git
a/src/GEOM/GEOM_Engine.cxx
b/src/GEOM/GEOM_Engine.cxx
index 368323d2230410b2bccd47673ea925ca0f4a7b11..bad944c95da0321d4876a39f36e02fbcea1585b5 100644
(file)
--- a/
src/GEOM/GEOM_Engine.cxx
+++ b/
src/GEOM/GEOM_Engine.cxx
@@
-745,7
+745,7
@@
TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID,
globalVars += ", ";
globalVars += data->_pyName;
}
- if ( !globalVars.IsEmpty() ) {
+ if (
isMultiFile &&
!globalVars.IsEmpty() ) {
globalVars.Insert( 1, "\n\tglobal " );
aScript.Insert( posToInsertGlobalVars, globalVars );
}