Salome HOME
DCQ:prepare 2.0.0
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index 44cbd411e3010d3a8ffdf73f2c7ceaf843536402..fb6ed194996773cc282b73cbca102d68415e2e94 100644 (file)
@@ -466,6 +466,8 @@ SMESH::SMESH_Hypothesis_ptr SMESH_Gen_i::createHypothesis(const char* theHypName
     myHypothesis_i =
       myHypCreatorMap[string(theHypName)]->Create
         (myPoa, myCurrentStudy->StudyId(), &myGen);
+    // _CS_gbo Explicit activation (no longer made in the constructor).
+    myHypothesis_i->Activate();
     myHypothesis_i->SetLibName(theLibName); // for persistency assurance
   }
   catch (SALOME_Exception& S_ex)