From 625497e788bf017390f5c0d9b04ff3b2e1140299 Mon Sep 17 00:00:00 2001 From: dibenedetto Date: Mon, 15 Jun 2009 17:26:00 +0000 Subject: [PATCH] fixed ImportLocal() in WedgeColor: iteration was missing. --- vcg/simplex/face/component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/simplex/face/component.h b/vcg/simplex/face/component.h index 89a28e5f..36b9fd79 100644 --- a/vcg/simplex/face/component.h +++ b/vcg/simplex/face/component.h @@ -415,7 +415,7 @@ public: const ColorType &cWC(const int i) const { return _color[i]; } template - void ImportLocal(const LeftF & leftF){ WC() = leftF.cWC();T::ImportLocal(leftF);} + void ImportLocal(const LeftF & leftF){ for (int i=0; i<3; ++i) { WC(i) = leftF.cWC(i); } T::ImportLocal(leftF);} static bool HasFaceColor() { return true; } static void Name(std::vector & name){name.push_back(std::string("WedgeColor"));T::Name(name);}