From e4ebb2badaf9f60fd455d7ba6d821d247c88c17b Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 30 Mar 2011 07:27:32 +0000 Subject: [PATCH] Additional fix for issue 0013373: EDF PAL 273 : Option Single/Multi file dump --- src/GEOM/GEOM_Engine.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index 368323d22..bad944c95 100644 --- 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 ); } -- 2.39.2