From 5ef3e2ca50944c2309c0654dedd0a82e267d8d60 Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 1 Nov 2009 09:51:53 +0000 Subject: [PATCH] added a missing const cQ() for ocf face component --- vcg/simplex/face/component_ocf.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcg/simplex/face/component_ocf.h b/vcg/simplex/face/component_ocf.h index becc376d..dcd4ed4d 100644 --- a/vcg/simplex/face/component_ocf.h +++ b/vcg/simplex/face/component_ocf.h @@ -587,6 +587,10 @@ public: assert((*this).Base().QualityEnabled); return (*this).Base().QV[(*this).Index()]; } + const QualityType cQ() const { + assert((*this).Base().QualityEnabled); + return (*this).Base().QV[(*this).Index()]; + } template void ImportLocal(const LeftF & leftF){