mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-15 23:41:27 +05:00
Crash if assign set of hypotheses
This commit is contained in:
parent
fdc26f9a4d
commit
b6a4db8739
@ -633,6 +633,9 @@ void SMESHGUI_MeshOp::onHypoSet( const QString& theSetName )
|
|||||||
{
|
{
|
||||||
const QString& aHypoTypeName = (*aHypoList)[ i ];
|
const QString& aHypoTypeName = (*aHypoList)[ i ];
|
||||||
HypothesisData* aHypData = SMESH::GetHypothesisData( aHypoTypeName );
|
HypothesisData* aHypData = SMESH::GetHypothesisData( aHypoTypeName );
|
||||||
|
if( !aHypData )
|
||||||
|
continue;
|
||||||
|
|
||||||
int aDim = aHypData->Dim[0];
|
int aDim = aHypData->Dim[0];
|
||||||
// create or/and set
|
// create or/and set
|
||||||
int index = -1;
|
int index = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user