From: eap Date: Wed, 9 Oct 2013 16:25:36 +0000 (+0000) Subject: Fix multi-file dump X-Git-Tag: V7_3_0a1~132 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=51e8f347ad1029dd0a18243363004fdf88513719;p=modules%2Fsmesh.git Fix multi-file dump --- diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 3cb64eedf..43ffd029b 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -949,11 +949,11 @@ TCollection_AsciiString SMESH_Gen_i::DumpPython_impl std::list< TCollection_AsciiString >::iterator linesIt; if ( isPublished ) - lines.push_back( tab + aSMESHGen + " = smeshBuilder.New(theStudy)" ); + lines.push_back( aSMESHGen + " = smeshBuilder.New(theStudy)" ); else - lines.push_back( tab + aSMESHGen + " = smeshBuilder.New(None)" ); - lines.push_back( tab + "aFilterManager = " + aSMESHGen + ".CreateFilterManager()" ); - lines.push_back( tab + "aMeasurements = " + aSMESHGen + ".CreateMeasurements()" ); + lines.push_back( aSMESHGen + " = smeshBuilder.New(None)" ); + lines.push_back( helper + "aFilterManager = " + aSMESHGen + ".CreateFilterManager()" ); + lines.push_back( helper + "aMeasurements = " + aSMESHGen + ".CreateMeasurements()" ); // Treat dump trace of restored study if (theSavedTrace.Length() > 0)