Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something

This commit is contained in:
vsr 2009-05-27 14:20:16 +00:00
parent b726570a5c
commit c645e10df0

View File

@ -2516,7 +2516,7 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
{
SMESH::ElemGeomType_ptr tmpPred = aFilterMgr->CreateElemGeomType();
tmpPred->SetElementType( aTypeOfElem );
tmpPred->SetGeometryType( (GeometryType)(aThreshold + 0.5) );
tmpPred->SetGeometryType( (GeometryType)(int)(aThreshold + 0.5) );
aPredicate = tmpPred;
break;
}