diff --git a/src/meshlabplugins/filter_aging/edgepred.h b/src/meshlabplugins/filter_aging/edgepred.h index add078aaa..a893bf1b5 100644 --- a/src/meshlabplugins/filter_aging/edgepred.h +++ b/src/meshlabplugins/filter_aging/edgepred.h @@ -103,7 +103,7 @@ class AngleEdgePred // tests angle predicate over current edge bool operator()(face::Pos 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())); diff --git a/src/meshlabplugins/filter_aging/filter_aging.h b/src/meshlabplugins/filter_aging/filter_aging.h index 25ac51a2d..32913d2e2 100644 --- a/src/meshlabplugins/filter_aging/filter_aging.h +++ b/src/meshlabplugins/filter_aging/filter_aging.h @@ -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 ¶ms); virtual bool applyFilter(QAction *filter, MeshDocument &md, RichParameterSet ¶ms, vcg::CallBackPos *cb); virtual FilterClass getClass(QAction *);