mark of Vertex should not be named HasFaceMarkOcf!!

This commit is contained in:
Paolo Cignoni 2008-12-21 01:39:46 +00:00
parent 36c902097a
commit eca304e5f5
1 changed files with 4 additions and 4 deletions

View File

@ -241,13 +241,13 @@ void DisableColor() {
bool IsMarkEnabled() const {return MarkEnabled;} bool IsMarkEnabled() const {return MarkEnabled;}
void EnableMark() { void EnableMark() {
assert(VALUE_TYPE::HasFaceMarkOcf()); assert(VALUE_TYPE::HasMarkOcf());
MarkEnabled=true; MarkEnabled=true;
MV.resize((*this).size()); MV.resize((*this).size());
} }
void DisableMark() { void DisableMark() {
assert(VALUE_TYPE::HasFaceMarkOcf()); assert(VALUE_TYPE::HasMarkOcf());
MarkEnabled=false; MarkEnabled=false;
MV.clear(); MV.clear();
} }
@ -470,8 +470,8 @@ public:
IMark() = leftV.IMark(); IMark() = leftV.IMark();
T::ImportLocal(leftV); T::ImportLocal(leftV);
} }
static bool HasFaceMark() { return true; } static bool HasMark() { return true; }
static bool HasFaceMarkOcf() { return true; } static bool HasMarkOcf() { return true; }
inline void InitIMark() { IMark() = 0; } inline void InitIMark() { IMark() = 0; }
}; };