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; }