From 1769261ce115518c8718ab52c14b039c84a41afc Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 5 Nov 2014 12:16:19 +0000 Subject: [PATCH] Bug #484: add salome module import into HYDRO script for multi file dump. --- src/HYDROData/HYDROData_Document.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HYDROData/HYDROData_Document.cxx b/src/HYDROData/HYDROData_Document.cxx index 5f95e02b..3568066a 100644 --- a/src/HYDROData/HYDROData_Document.cxx +++ b/src/HYDROData/HYDROData_Document.cxx @@ -267,6 +267,7 @@ QStringList HYDROData_Document::DumpToPython( MapOfTreatedObjects& theTreatedObj if ( theIsMultiFile ) { + aResScript << QString( "import salome" ); aResScript << QString( "" ); aResScript << QString( "def RebuildData( theStudy ):" ); aResScript << QString( " %1 = HYDROData_Document.Document( theStudy._get_StudyId() );" ).arg( aDocName ); -- 2.39.2