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
(from parent 1:
49792ab
)
In existingHyps(), protection for hypotheses w/o any gui
author
eap
<eap@opencascade.com>
Wed, 10 Nov 2010 15:19:59 +0000
(15:19 +0000)
committer
eap
<eap@opencascade.com>
Wed, 10 Nov 2010 15:19:59 +0000
(15:19 +0000)
HypothesisData* aData = SMESH::GetHypothesisData( aHypVar->GetName() );
+ if ( !aData) continue;
src/SMESHGUI/SMESHGUI_MeshOp.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MeshOp.cxx
b/src/SMESHGUI/SMESHGUI_MeshOp.cxx
index c8217239dce43cc767cc542ab9e76ab69500f1a2..48b4fae6e4e507ec06c8c9d22307ab09611cb6c4 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_MeshOp.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MeshOp.cxx
@@
-860,6
+860,7
@@
void SMESHGUI_MeshOp::existingHyps( const int theDim,
if ( !aHypVar->_is_nil() )
{
HypothesisData* aData = SMESH::GetHypothesisData( aHypVar->GetName() );
+ if ( !aData) continue;
if ( ( theDim == -1 || aData->Dim.contains( theDim ) ) &&
( isCompatible ( theAlgoData, aData, theHypType )) &&
( isAux == aData->IsAux ))