From 2725130da1c4716ddc3a30223d76586d016e5fd7 Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 3 Dec 2009 15:27:32 +0000 Subject: [PATCH] Debug --- src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index 4420d1732..c32e993a4 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -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; -- 2.39.2