]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix of save problems in SHAPER
authormpv <mpv@opencascade.com>
Thu, 18 Feb 2016 05:39:10 +0000 (08:39 +0300)
committermpv <mpv@opencascade.com>
Thu, 18 Feb 2016 05:39:10 +0000 (08:39 +0300)
src/Model/Model_Document.cpp

index 280da04f29e8b543d1ee18e65eca7a1876e08b8d..5f18fe56a011a13a6ae424944b80536c3a4a8051 100755 (executable)
@@ -246,6 +246,7 @@ bool Model_Document::save(
   }
   myTransactionSave = myTransactions.size();
   if (isDone) {  // save also sub-documents if any
+    theResults.push_back(TCollection_AsciiString(aPath).ToCString());
     // iterate all result parts to find all loaded or not yet loaded documents
     std::list<ResultPtr> aPartResults;
     myObjs->allResults(ModelAPI_ResultPart::group(), aPartResults);