mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something
This commit is contained in:
parent
b726570a5c
commit
c645e10df0
@ -2516,7 +2516,7 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
|
|||||||
{
|
{
|
||||||
SMESH::ElemGeomType_ptr tmpPred = aFilterMgr->CreateElemGeomType();
|
SMESH::ElemGeomType_ptr tmpPred = aFilterMgr->CreateElemGeomType();
|
||||||
tmpPred->SetElementType( aTypeOfElem );
|
tmpPred->SetElementType( aTypeOfElem );
|
||||||
tmpPred->SetGeometryType( (GeometryType)(aThreshold + 0.5) );
|
tmpPred->SetGeometryType( (GeometryType)(int)(aThreshold + 0.5) );
|
||||||
aPredicate = tmpPred;
|
aPredicate = tmpPred;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user