mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-30 02:50:34 +05:00
Additional fix for issue 0013373: EDF PAL 273 : Option Single/Multi file dump
This commit is contained in:
parent
a52c65cb3f
commit
e4ebb2bada
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user