From: vsv Date: Wed, 27 May 2015 08:57:48 +0000 (+0300) Subject: this is done in Part result "activate", so no needed here. Causes not-blue active... X-Git-Tag: V_1.2.0~59 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=89a3f46fb154eb35f5fa25158ba1006126b733ae;p=modules%2Fshaper.git this is done in Part result "activate", so no needed here. Causes not-blue active part. --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index 3a341a5ac..97cf41010 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -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; }