]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Application.cpp
Salome HOME
Make features history working. Optimization of features and results management and...
[modules/shaper.git] / src / Model / Model_Application.cpp
index 212fd4c9cab1ec924a6fe9fd14d2ced24b7a74ec..60bf41d9fa4f9cd1bd5600c126ae1dd77eb4a869 100644 (file)
@@ -33,6 +33,7 @@ const std::shared_ptr<Model_Document>& Model_Application::getDocument(string the
   bool isRoot = theDocID == "root"; // the document is root
   std::shared_ptr<Model_Document> aNew(
     new Model_Document(theDocID, isRoot ? thePartSetKind : thePartKind));
+  aNew->setThis(aNew);
   myDocs[theDocID] = aNew;
 
   // load it if it must be loaded by demand