From 3b38917e95e7b106d5654e5e809fa9415f66bec9 Mon Sep 17 00:00:00 2001 From: cignoni Date: Sat, 9 Aug 2014 00:11:32 +0000 Subject: [PATCH] corrected the ImportData of the curvature type. --- vcg/simplex/vertex/component.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/vertex/component.h b/vcg/simplex/vertex/component.h index 693f284e..f30cfb1d 100644 --- a/vcg/simplex/vertex/component.h +++ b/vcg/simplex/vertex/component.h @@ -421,7 +421,8 @@ public: template < class RightValueType> void ImportData(const RightValueType & rVert ) { if(rVert.IsCurvatureDirEnabled()) { - PD1() = rVert.cPD1(); PD2() = rVert.cPD2(); + PD1().Import(rVert.cPD1()); + PD2().Import(rVert.cPD2()); K1() = rVert.cK1(); K2() = rVert.cK2(); } TT::ImportData( rVert);