From e519584fd6e621eabb23fc9aa97ba74aa5d79c53 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 6 Dec 2012 09:23:23 +0000 Subject: [PATCH] Patch from RNV: manually created mesh is not checked in --- src/SALOMEDSImpl/SALOMEDSImpl_SimanStudy.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_SimanStudy.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_SimanStudy.cxx index b8eb4795c..e22735cd2 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_SimanStudy.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_SimanStudy.cxx @@ -67,7 +67,7 @@ SALOMEDSImpl_SimanStudy::~SALOMEDSImpl_SimanStudy() for(; actIter.More(); actIter.Next()) { SimanIO_Activity::DocumentsIterator aDocIter(actIter.Activity()); for(; aDocIter.More(); aDocIter.Next()) { - const SimanIO_Document& aDoc = aDocIter.Document(); + /*const*/ SimanIO_Document& aDoc = aDocIter.Document(); SimanIO_Document::FilesIterator aFileIter(aDoc); for(; aFileIter.More(); aFileIter.Next()) { string aURL = aFileIter.URL(); @@ -117,7 +117,7 @@ void SALOMEDSImpl_SimanStudy::CheckOut(SALOMEDSImpl_Study* theTarget) for(; aDocIter.More(); aDocIter.Next()) { if (_filesId.find(aDocIter.DocId()) == _filesId.end()) _filesId[aDocIter.DocId()] = map(); - const SimanIO_Document& aDoc = aDocIter.Document(); + /*const*/ SimanIO_Document& aDoc = aDocIter.Document(); SimanIO_Document::FilesIterator aFileIter(aDoc); for(; aFileIter.More(); aFileIter.Next()) { if (aFileIter.GetProcessing() == FILE_IMPORT) { @@ -169,7 +169,7 @@ void SALOMEDSImpl_SimanStudy::CheckIn(const std::string theModuleName) SimanIO_Configuration::ActivitiesIterator actIter(*_checkedOut); for(; actIter.More(); actIter.Next()) { int aDocId = actIter.Activity().DocumentMaxID(); - if (aDocId < 0) continue; // no documents => no check in + //if (aDocId < 0) continue; // no documents => no check in if (!theModuleName.empty() && theModuleName != actIter.Activity().Module()) { continue; } -- 2.39.2