From: eap Date: Mon, 24 Sep 2012 11:19:01 +0000 (+0000) Subject: Remove this from StudyContextStruct at destructor X-Git-Tag: V6_6_0a1~91 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cc048fe72decb21c9e88ea1426db6e3680aaeba1;p=modules%2Fsmesh.git Remove this from StudyContextStruct at destructor --- diff --git a/src/SMESH/SMESH_Hypothesis.cxx b/src/SMESH/SMESH_Hypothesis.cxx index 711f463c8..48f293a56 100644 --- a/src/SMESH/SMESH_Hypothesis.cxx +++ b/src/SMESH/SMESH_Hypothesis.cxx @@ -63,6 +63,8 @@ SMESH_Hypothesis::SMESH_Hypothesis(int hypId, SMESH_Hypothesis::~SMESH_Hypothesis() { MESSAGE("SMESH_Hypothesis::~SMESH_Hypothesis"); + StudyContextStruct* myStudyContext = _gen->GetStudyContext(_studyId); + myStudyContext->mapHypothesis[_hypId] = 0; } //=============================================================================