]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix multi-file dump
authoreap <eap@opencascade.com>
Wed, 9 Oct 2013 16:25:36 +0000 (16:25 +0000)
committereap <eap@opencascade.com>
Wed, 9 Oct 2013 16:25:36 +0000 (16:25 +0000)
src/SMESH_I/SMESH_DumpPython.cxx

index 3cb64eedf920e84b3eae8e68ee6e28068130e036..43ffd029bf2d152242bcdc67fd1a3983183b5dfe 100644 (file)
@@ -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)