added missing cC() access to color

This commit is contained in:
ganovelli 2008-11-12 16:20:53 +00:00
parent 62ff8885c0
commit 81a4a5b4f5
1 changed files with 3 additions and 1 deletions

View File

@ -309,7 +309,9 @@ public:
typedef vcg::Color4b ColorType;
ColorType &C() { static ColorType dumcolor(vcg::Color4b::White); assert(0); return dumcolor; }
template < class LeftV>
const ColorType &cC() const { static ColorType dumcolor(vcg::Color4b::White); assert(0); return dumcolor; }
template < class LeftV>
void ImportLocal(const LeftV & left ) { T::ImportLocal( left); }
static bool HasColor() { return false; }
static void Name(std::vector<std::string> & name){T::Name(name);}