From 6ec2689383b0996b3a817b2017288e66059d538d Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 11 Nov 2013 13:32:33 +0000 Subject: [PATCH] Corrected weird error in pos assignement operator. --- vcg/simplex/face/pos.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/face/pos.h b/vcg/simplex/face/pos.h index b7aa065e..8c71f1a5 100644 --- a/vcg/simplex/face/pos.h +++ b/vcg/simplex/face/pos.h @@ -125,12 +125,13 @@ public: } /// Assignment operator - inline FaceType & operator = ( const FaceType & h ){ + inline PosType & operator = ( const PosType & h ){ f=h.f; z=h.z; v=h.v; return *this; } + /// Set to null the half-edge void SetNull(){ f=0;