From 73ddae8750c3901addb8a8d7ce406166a662dcb6 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 6 Dec 2012 09:26:06 +0000 Subject: [PATCH] Temporary patch from VSR: manually created mesh is not checked in --- src/SMESH_I/SMESH_Gen_i.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); } -- 2.39.2