]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
this is done in Part result "activate", so no needed here. Causes not-blue active...
authorvsv <vitaly.smetannikov@opencascade.com>
Wed, 27 May 2015 08:57:48 +0000 (11:57 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Wed, 27 May 2015 08:57:48 +0000 (11:57 +0300)
src/Model/Model_Document.cpp

index 3a341a5acf03cfe2a1e599f5107fb6f5908c62f8..97cf4101051b576ac5f9e5c58f9636bf95426cc6 100644 (file)
@@ -171,7 +171,8 @@ bool Model_Document::load(const char* theFileName, DocumentPtr theThis)
     setCurrentFeature(currentFeature(false), false);
     aSession->setCheckTransactions(true);
     aSession->setActiveDocument(Model_Session::get()->moduleDocument(), false);
-    aSession->setActiveDocument(anApp->getDocument(myID), true);
+    // this is done in Part result "activate", so no needed here. Causes not-blue active part.
+    // aSession->setActiveDocument(anApp->getDocument(myID), true);
   }
   return !isError;
 }