Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2974c0b
)
Remove this from StudyContextStruct at destructor
author
eap
<eap@opencascade.com>
Mon, 24 Sep 2012 11:19:01 +0000
(11:19 +0000)
committer
eap
<eap@opencascade.com>
Mon, 24 Sep 2012 11:19:01 +0000
(11:19 +0000)
src/SMESH/SMESH_Hypothesis.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Hypothesis.cxx
b/src/SMESH/SMESH_Hypothesis.cxx
index 711f463c8d99a96e8b482512f2cc28503bde1241..48f293a565c8ddba91f58dc7b02e3013922438da 100644
(file)
--- 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;
}
//=============================================================================