From eca304e5f5257853d991b994b14650b903863777 Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 21 Dec 2008 01:39:46 +0000 Subject: [PATCH] mark of Vertex should not be named HasFaceMarkOcf!! --- vcg/simplex/vertex/component_ocf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vcg/simplex/vertex/component_ocf.h b/vcg/simplex/vertex/component_ocf.h index 07e92026..4a589ba0 100644 --- a/vcg/simplex/vertex/component_ocf.h +++ b/vcg/simplex/vertex/component_ocf.h @@ -241,13 +241,13 @@ void DisableColor() { bool IsMarkEnabled() const {return MarkEnabled;} void EnableMark() { - assert(VALUE_TYPE::HasFaceMarkOcf()); + assert(VALUE_TYPE::HasMarkOcf()); MarkEnabled=true; MV.resize((*this).size()); } void DisableMark() { - assert(VALUE_TYPE::HasFaceMarkOcf()); + assert(VALUE_TYPE::HasMarkOcf()); MarkEnabled=false; MV.clear(); } @@ -470,8 +470,8 @@ public: IMark() = leftV.IMark(); T::ImportLocal(leftV); } - static bool HasFaceMark() { return true; } - static bool HasFaceMarkOcf() { return true; } + static bool HasMark() { return true; } + static bool HasMarkOcf() { return true; } inline void InitIMark() { IMark() = 0; } };