From 6bb1ea8fcc9f67a899adcb83e9c3c6d147d969b3 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 27 May 2008 16:32:58 +0000 Subject: [PATCH] Small syntax error in the various ImportLocal --- vcg/simplex/vertexplus/component.h | 2 +- vcg/simplex/vertexplus/component_ocf.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vcg/simplex/vertexplus/component.h b/vcg/simplex/vertexplus/component.h index 7c1f4b9e..6699e87d 100644 --- a/vcg/simplex/vertexplus/component.h +++ b/vcg/simplex/vertexplus/component.h @@ -290,7 +290,7 @@ public: int &Flags() {return _flags; } const int Flags() const {return _flags; } template < class LeftV> - void ImportLocal(const LeftV & left ) { Flags() = left.cFlags(); T::ImportLocal( left); } + void ImportLocal(const LeftV & left ) { Flags() = left.Flags(); T::ImportLocal( left); } static bool HasFlags() { return true; } static void Name(std::vector & name){name.push_back(std::string("BitFlags"));T::Name(name);} diff --git a/vcg/simplex/vertexplus/component_ocf.h b/vcg/simplex/vertexplus/component_ocf.h index 6af388e3..334195a1 100644 --- a/vcg/simplex/vertexplus/component_ocf.h +++ b/vcg/simplex/vertexplus/component_ocf.h @@ -344,7 +344,7 @@ public: return (*this).Base().AV[(*this).Index()]._zp; } template - void ImportLocal(const LeftV & leftV){VFp() = NULL; VFi() = -1; T::ImporLocal(leftV);} + void ImportLocal(const LeftV & leftV){VFp() = NULL; VFi() = -1; T::ImportLocal(leftV);} static bool HasVFAdjacency() { return true; } static bool HasVFAdjacencyOcf() {assert(!T::HasVFAdjacencyOcf()); return true; } @@ -421,7 +421,7 @@ public: } ; template - void ImportLocal(const LeftF & leftF){IMark() = leftF.cIMark(); T::ImportLocal(leftF);} + void ImportLocal(const LeftF & leftF){IMark() = leftF.IMark(); T::ImportLocal(leftF);} static bool HasFaceMark() { return true; } static bool HasFaceMarkOcf() { return true; } inline void InitIMark() { IMark() = 0; } @@ -443,7 +443,7 @@ public: template void ImportLocal(const LeftV & leftV){ (*this).Base().CuV[(*this).Index()][0] = leftV.cKh(); -(*this).Base().CuV[(*this).Index()][1] = leftV.cKg(); TT::ImporLocal(leftV);} +(*this).Base().CuV[(*this).Index()][1] = leftV.cKg(); TT::ImportLocal(leftV);} static bool HasCurvatureOcf() { return true; } static void Name(std::vector & name){name.push_back(std::string("CurvatureOcf"));TT::Name(name);}