diff --git a/vcg/simplex/vertex/component_ocf.h b/vcg/simplex/vertex/component_ocf.h index a8e87dd7..8364a552 100644 --- a/vcg/simplex/vertex/component_ocf.h +++ b/vcg/simplex/vertex/component_ocf.h @@ -272,6 +272,7 @@ void DisableNormal() { NV.clear(); } +bool IsVFAdjacencyEnabled() const {return VFAdjacencyEnabled;} void EnableVFAdjacency() { assert(VALUE_TYPE::HasVFAdjacencyOcf()); VFAdjacencyEnabled=true; @@ -502,6 +503,7 @@ template class TexCoordfOcf: public TexCoordOcf, T> template class MarkOcf: public T { public: + typedef int MarkType; inline int & IMark() { assert((*this).Base().MarkEnabled); return (*this).Base().MV[(*this).Index()];