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:
fdc26f9
)
Crash if assign set of hypotheses
author
asl
<asl@opencascade.com>
Mon, 12 Dec 2005 13:06:48 +0000
(13:06 +0000)
committer
asl
<asl@opencascade.com>
Mon, 12 Dec 2005 13:06:48 +0000
(13:06 +0000)
src/SMESHGUI/SMESHGUI_MeshOp.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MeshOp.cxx
b/src/SMESHGUI/SMESHGUI_MeshOp.cxx
index 97bed35c7d3877de34801ee8cd8def1890da5117..88600cd6c25740a9e65ad3fc22afd4c93e86835a 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_MeshOp.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MeshOp.cxx
@@
-633,6
+633,9
@@
void SMESHGUI_MeshOp::onHypoSet( const QString& theSetName )
{
const QString& aHypoTypeName = (*aHypoList)[ i ];
HypothesisData* aHypData = SMESH::GetHypothesisData( aHypoTypeName );
+ if( !aHypData )
+ continue;
+
int aDim = aHypData->Dim[0];
// create or/and set
int index = -1;