From 099149e990505ae7e5b61f7d14b38ae766010f7d Mon Sep 17 00:00:00 2001 From: ganovelli Date: Thu, 21 Apr 2011 15:51:03 +0000 Subject: [PATCH] corrected bug in EEAdj constructor --- vcg/simplex/edge/component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/simplex/edge/component.h b/vcg/simplex/edge/component.h index 53f2f8c8..8cd7bfe9 100644 --- a/vcg/simplex/edge/component.h +++ b/vcg/simplex/edge/component.h @@ -274,7 +274,7 @@ public: template class EEAdj: public T { public: - EEAdj(){_ep=0;} + EEAdj(){_ep[0]=0;_ep[1]=0;_zp[0]=-1;_zp[1]=-1;} typename T::EdgePointer &EEp(const int & i) {return _ep[i]; } typename T::EdgePointer cEEp(const int & i) {return _ep[i]; } int &EEi(const int & i){ return _zp[i];};