From: ouv Date: Thu, 3 Dec 2009 15:27:32 +0000 (+0000) Subject: Debug X-Git-Tag: PHASE_17_Part1_V1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2725130da1c4716ddc3a30223d76586d016e5fd7;p=modules%2Fkernel.git Debug --- 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;