Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b726570
)
Issue 0020368: SMESHGUI_MeshDlg::isTabEnabled must return something
author
vsr
<vsr@opencascade.com>
Wed, 27 May 2009 14:20:16 +0000
(14:20 +0000)
committer
vsr
<vsr@opencascade.com>
Wed, 27 May 2009 14:20:16 +0000
(14:20 +0000)
src/SMESH_I/SMESH_Filter_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Filter_i.cxx
b/src/SMESH_I/SMESH_Filter_i.cxx
index a7b63412005604d854cf518089a63996440e90d4..bd92ee2d49b6efc2d38c9c15dabd8d970759f655 100644
(file)
--- a/
src/SMESH_I/SMESH_Filter_i.cxx
+++ b/
src/SMESH_I/SMESH_Filter_i.cxx
@@
-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;
}