From d24100b9035732ac3ee1cb9a2a47523da59d8ca1 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Mon, 11 Dec 2006 23:42:00 +0000 Subject: [PATCH] bug Index()() instead of Index() --- vcg/simplex/vertexplus/component_ocf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/vertexplus/component_ocf.h b/vcg/simplex/vertexplus/component_ocf.h index 3ed1b951..8489a36c 100644 --- a/vcg/simplex/vertexplus/component_ocf.h +++ b/vcg/simplex/vertexplus/component_ocf.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.8 2006/12/04 11:17:42 ganovelli +added forward declaration of TriMesh + Revision 1.7 2006/11/07 17:22:52 cignoni many gcc compiling issues @@ -231,7 +234,7 @@ public: NormalType &N() { // you cannot use Normals before enabling them with: yourmesh.vert.EnableNormal() assert((*this).Base().NormalEnabled); - return (*this).Base().NV[(*this).Index()()]; } + return (*this).Base().NV[(*this).Index()]; } }; template class Normal3sOcf: public NormalOcf {};