From b284013486bad399f84261954d7f1ae814bbef86 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Thu, 7 Aug 2008 16:14:45 +0000 Subject: [PATCH] replaced "=" with Import(..) in ImportLocal of P(). Note: this means that ImportLocal converts the type of vertex position. --- vcg/simplex/vertexplus/component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/simplex/vertexplus/component.h b/vcg/simplex/vertexplus/component.h index 1ed5b5d6..318cd861 100644 --- a/vcg/simplex/vertexplus/component.h +++ b/vcg/simplex/vertexplus/component.h @@ -163,7 +163,7 @@ public: CoordType &UberP() { return _coord; } template < class LeftV> - void ImportLocal(const LeftV & left ) { P() = left.cP(); T::ImportLocal( left); } + void ImportLocal(const LeftV & left ) { P().Import(left.cP()); T::ImportLocal( left); } static bool HasCoord() { return true; } static void Name(std::vector & name){name.push_back(std::string("Coord"));T::Name(name);}