X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Group_i.cxx;h=d51714ae79a7d94929cba87714c2436f2470fd34;hp=6218de9f8ba5485d3cd07b398da23c30a280d9bd;hb=512d3547bc726e9bb5732b1d0692e1141ca258e1;hpb=0c1e70a38f79339a8d117b3066595f4f90e28d0e diff --git a/src/SMESH_I/SMESH_Group_i.cxx b/src/SMESH_I/SMESH_Group_i.cxx index 6218de9f8..d51714ae7 100644 --- a/src/SMESH_I/SMESH_Group_i.cxx +++ b/src/SMESH_I/SMESH_Group_i.cxx @@ -947,7 +947,8 @@ std::string SMESH_GroupOnFilter_i::FilterToString() const { SMESH::Filter::Criterion& crit = criteria[ i ]; - if ( SMESH::FunctorType( crit.Type ) == SMESH::FT_BelongToMeshGroup ) + if ( SMESH::FunctorType( crit.Type ) == SMESH::FT_BelongToMeshGroup && + crit.ThresholdID.in() && crit.ThresholdID.in()[0] ) { CORBA::Object_var obj = SMESH_Gen_i::GetORB()->string_to_object( crit.ThresholdID ); if ( SMESH_GroupBase_i * g = SMESH::DownCast< SMESH_GroupBase_i*>( obj ))