Updated after the removal of the enum bit vertexborder and faceborder

This commit is contained in:
Paolo Cignoni cignoni 2012-07-03 13:14:44 +00:00
parent 68ec3c9e0a
commit a9dbe7337c
2 changed files with 2 additions and 3 deletions

View File

@ -103,7 +103,7 @@ class AngleEdgePred
// tests angle predicate over current edge
bool operator()(face::Pos<CMeshO::FaceType> ep) const {
if(ep.f->IsB(ep.z)) return true;
if(ep.IsBorder()) return true;
// the angle between the two face normals in degrees
double ffangle = math::ToDeg(vcg::Angle(ep.f->N(), ep.f->FFp(ep.z)->N()));

View File

@ -46,8 +46,7 @@ class GeometryAgingPlugin : public QObject, public MeshFilterInterface
virtual QString filterInfo(FilterIDType filter) const;
virtual QString filterName(FilterIDType filter) const;
virtual int getRequirements(QAction *) {return (MeshModel::MM_FACEMARK |
MeshModel::MM_FACEFACETOPO | MeshModel::MM_FACEFLAGBORDER | MeshModel::MM_VERTCURV);}
virtual int getRequirements(QAction *) {return (MeshModel::MM_FACEMARK | MeshModel::MM_FACEFACETOPO | MeshModel::MM_VERTCURV);}
virtual void initParameterSet(QAction *action, MeshModel &m, RichParameterSet &params);
virtual bool applyFilter(QAction *filter, MeshDocument &md, RichParameterSet &params, vcg::CallBackPos *cb);
virtual FilterClass getClass(QAction *);