Salome HOME
Debug PHASE_17_Part1_V1 PHASE_17_Part1_V2
authorouv <ouv@opencascade.com>
Thu, 3 Dec 2009 15:27:32 +0000 (15:27 +0000)
committerouv <ouv@opencascade.com>
Thu, 3 Dec 2009 15:27:32 +0000 (15:27 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index 4420d17329d66aac841d454b46fff36a2763773f..c32e993a47c940f3167d2624e0c704ca94ee039a 100644 (file)
@@ -1270,7 +1270,8 @@ bool SALOMEDSImpl_Study::DumpStudy(const string& thePath,
 
     //Add to the main script a call to RebuildData of the generated by the component the Python script
     fp << "import " << aScriptName << endl;
-    fp << aScriptName << ".RebuildData(" << aBatchModeScript << ".myStudy)" << endl;
+    if ( aCompType != "NOTEBOOK" )
+      fp << aScriptName << ".RebuildData(" << aBatchModeScript << ".myStudy)" << endl;
   }
 
   fp << endl;