From: mzn Date: Wed, 5 Nov 2014 12:16:19 +0000 (+0000) Subject: Bug #484: add salome module import into HYDRO script for multi file dump. X-Git-Tag: BR_hydro_v_1_0_4~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1769261ce115518c8718ab52c14b039c84a41afc;p=modules%2Fhydro.git Bug #484: add salome module import into HYDRO script for multi file dump. --- 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 );