mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
In existingHyps(), protection for hypotheses w/o any gui
HypothesisData* aData = SMESH::GetHypothesisData( aHypVar->GetName() ); + if ( !aData) continue;
This commit is contained in:
parent
49792ab647
commit
c7886f3dd2
@ -860,6 +860,7 @@ void SMESHGUI_MeshOp::existingHyps( const int theDim,
|
|||||||
if ( !aHypVar->_is_nil() )
|
if ( !aHypVar->_is_nil() )
|
||||||
{
|
{
|
||||||
HypothesisData* aData = SMESH::GetHypothesisData( aHypVar->GetName() );
|
HypothesisData* aData = SMESH::GetHypothesisData( aHypVar->GetName() );
|
||||||
|
if ( !aData) continue;
|
||||||
if ( ( theDim == -1 || aData->Dim.contains( theDim ) ) &&
|
if ( ( theDim == -1 || aData->Dim.contains( theDim ) ) &&
|
||||||
( isCompatible ( theAlgoData, aData, theHypType )) &&
|
( isCompatible ( theAlgoData, aData, theHypType )) &&
|
||||||
( isAux == aData->IsAux ))
|
( isAux == aData->IsAux ))
|
||||||
|
Loading…
Reference in New Issue
Block a user