From ea6553f1d5805c40f0eee3dfd61e0457bd8ae241 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Wed, 14 Oct 2009 14:25:00 +0000 Subject: [PATCH] corrected funtion NormalAbs::ImportLocal --- vcg/simplex/face/component.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/face/component.h b/vcg/simplex/face/component.h index f508f646..23b76e35 100644 --- a/vcg/simplex/face/component.h +++ b/vcg/simplex/face/component.h @@ -243,7 +243,12 @@ public: NormalType &N() { return _norm; } NormalType cN() const { return _norm; } template - void ImportLocal(const RightF & rightF){ N() = rightF.cN(); T::ImportLocal(rightF);} + void ImportLocal(const RightF & rightF) + { + N().Import(rightF.cN()); + T::ImportLocal( rightF); + } + inline void Alloc(const int & ns){T::Alloc(ns);} inline void Dealloc(){T::Dealloc();} static bool HasFaceNormal() { return true; }