From 000874da30db19cab06c569102eed562a2231e98 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Thu, 8 Jun 2006 20:28:38 +0000 Subject: [PATCH] Corretto IsEnabledAttribute --- vcg/container/vector_occ.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/container/vector_occ.h b/vcg/container/vector_occ.h index 6d302b94..3732c9c7 100644 --- a/vcg/container/vector_occ.h +++ b/vcg/container/vector_occ.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.1 2005/10/15 16:21:49 ganovelli +Working release (compilata solo su MSVC), vector_occ è migrato da component_opt + Revision 1.5 2005/07/07 13:33:52 ganovelli some comment @@ -82,7 +85,7 @@ public: /// this function disable the use of an optional attribute (see...) /// Note: once an attribute is disabled, its data is lost (the memory freed) template - void IsEnabledAttribute(){ + bool IsEnabledAttribute(){ std::list < CATBase * >::iterator ia; for(ia = attributes.begin(); ia != attributes.end(); ++ia) if((*ia)->Id() == CAT::Id())