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:
4d33116
)
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
author
eap
<eap@opencascade.com>
Fri, 8 Jun 2007 13:52:11 +0000
(13:52 +0000)
committer
eap
<eap@opencascade.com>
Fri, 8 Jun 2007 13:52:11 +0000
(13:52 +0000)
additionannly bind hypotheses directly to a group
src/SMESH/SMESH_Mesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Mesh.cxx
b/src/SMESH/SMESH_Mesh.cxx
index 0f464bf0f9adad71a6c407f4f92c7c70d5ec53db..71ead96eb191d271f4e4bcf79fe159f92df0b5e0 100644
(file)
--- a/
src/SMESH/SMESH_Mesh.cxx
+++ b/
src/SMESH/SMESH_Mesh.cxx
@@
-363,6
+363,10
@@
SMESH_Hypothesis::Hypothesis_Status
if ( ret < aBestRet )
aBestRet = ret;
}
+ // bind hypotheses to a group just to know
+ SMESH_Hypothesis *anHyp = _gen->GetStudyContext(_studyId)->mapHypothesis[anHypId];
+ GetMeshDS()->AddHypothesis( aSubShape, anHyp );
+
if ( SMESH_Hypothesis::IsStatusFatal( aBestRet ))
return aBestRet;
return aWorstNotFatal;