Temporary patch from VSR: manually created mesh is not checked in

This commit is contained in:
vsr 2012-12-06 09:26:06 +00:00
parent 666c66fdb3
commit 73ddae8750

View File

@ -288,6 +288,9 @@ SMESH_Gen_i::SMESH_Gen_i( CORBA::ORB_ptr orb,
myIsHistoricalPythonDump = true; myIsHistoricalPythonDump = true;
myToForgetMeshDataOnHypModif = false; myToForgetMeshDataOnHypModif = false;
myImportedStudyChanged = true;
myImportedStudyId = 0;
// set it in standalone mode only // set it in standalone mode only
//OSD::SetSignal( true ); //OSD::SetSignal( true );
@ -4937,7 +4940,7 @@ Engines::ListOfData* SMESH_Gen_i::getModifiedData(CORBA::Long studyId)
{ {
Engines::ListOfData_var aResult = new Engines::ListOfData; Engines::ListOfData_var aResult = new Engines::ListOfData;
if (!myImportedStudyChanged) { if (myImportStudyId == 0 || !myImportedStudyChanged) {
MESSAGE("Study is not changed") MESSAGE("Study is not changed")
return aResult._retn(); return aResult._retn();
} }