From 30cac403d3d095f91436ad3ce3a62e9f6a8fbea3 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 10 May 2004 13:13:17 +0000 Subject: [PATCH] added void to Convert, corrected return object in VFb --- vcg/simplex/vertex/base.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/vertex/base.h b/vcg/simplex/vertex/base.h index 62d73dca..950699ad 100644 --- a/vcg/simplex/vertex/base.h +++ b/vcg/simplex/vertex/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.9 2004/05/06 15:28:10 pietroni +changed names to VF topology function (was missed) + Revision 1.8 2004/05/05 17:03:25 pietroni changed name to topology functions @@ -371,7 +374,8 @@ inline VFTYPE * & VFb() return _vfb; #else assert(0);// you are probably trying to use VF topology in a vertex without it - return *((VFTYPE **)(_flags)); + static VFTYPE *dum; + return dum; #endif } @@ -649,7 +653,7 @@ static bool HasVTAdjacency() { //@{ template -inline Convert( VERT_TYPE &v ) +inline void Convert( VERT_TYPE &v ) { P()=v.P(); Flags()=v.Flags();