From a9dbe7337cfe426aaca8be491be89057506a7828 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Tue, 3 Jul 2012 13:14:44 +0000 Subject: [PATCH] Updated after the removal of the enum bit vertexborder and faceborder --- src/meshlabplugins/filter_aging/edgepred.h | 2 +- src/meshlabplugins/filter_aging/filter_aging.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 *);