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:
0b14381
)
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
author
eap
<eap@opencascade.com>
Wed, 13 Jun 2007 12:24:12 +0000
(12:24 +0000)
committer
eap
<eap@opencascade.com>
Wed, 13 Jun 2007 12:24:12 +0000
(12:24 +0000)
remove hypotheses directly added to a geom group
src/SMESH/SMESH_Mesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Mesh.cxx
b/src/SMESH/SMESH_Mesh.cxx
index 71ead96eb191d271f4e4bcf79fe159f92df0b5e0..42b293092c641df7b2f933aa3bfe9f2983e42e82 100644
(file)
--- a/
src/SMESH/SMESH_Mesh.cxx
+++ b/
src/SMESH/SMESH_Mesh.cxx
@@
-470,6
+470,9
@@
SMESH_Hypothesis::Hypothesis_Status
if ( ret < aBestRet )
aBestRet = ret;
}
+ SMESH_Hypothesis *anHyp = _gen->GetStudyContext(_studyId)->mapHypothesis[anHypId];
+ GetMeshDS()->RemoveHypothesis( aSubShape, anHyp );
+
if ( SMESH_Hypothesis::IsStatusFatal( aBestRet ))
return aBestRet;
return aWorstNotFatal;