From: vsr Date: Thu, 6 Dec 2012 09:26:06 +0000 (+0000) Subject: Temporary patch from VSR: manually created mesh is not checked in X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=73ddae8750c3901addb8a8d7ce406166a662dcb6;p=modules%2Fsmesh.git Temporary patch from VSR: manually created mesh is not checked in --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 9f624af55..30cb71cb9 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -288,6 +288,9 @@ SMESH_Gen_i::SMESH_Gen_i( CORBA::ORB_ptr orb, myIsHistoricalPythonDump = true; myToForgetMeshDataOnHypModif = false; + myImportedStudyChanged = true; + myImportedStudyId = 0; + // set it in standalone mode only //OSD::SetSignal( true ); @@ -4937,7 +4940,7 @@ Engines::ListOfData* SMESH_Gen_i::getModifiedData(CORBA::Long studyId) { Engines::ListOfData_var aResult = new Engines::ListOfData; - if (!myImportedStudyChanged) { + if (myImportStudyId == 0 || !myImportedStudyChanged) { MESSAGE("Study is not changed") return aResult._retn(); }