mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-12 00:33:08 +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 += ", ";
|
||||||
globalVars += data->_pyName;
|
globalVars += data->_pyName;
|
||||||
}
|
}
|
||||||
if ( !globalVars.IsEmpty() ) {
|
if ( isMultiFile && !globalVars.IsEmpty() ) {
|
||||||
globalVars.Insert( 1, "\n\tglobal " );
|
globalVars.Insert( 1, "\n\tglobal " );
|
||||||
aScript.Insert( posToInsertGlobalVars, globalVars );
|
aScript.Insert( posToInsertGlobalVars, globalVars );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user