fixed ImportLocal() in WedgeColor: iteration was missing.
This commit is contained in:
parent
fde38e0612
commit
625497e788
|
@ -415,7 +415,7 @@ public:
|
|||
const ColorType &cWC(const int i) const { return _color[i]; }
|
||||
|
||||
template <class LeftF>
|
||||
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<std::string> & name){name.push_back(std::string("WedgeColor"));T::Name(name);}
|
||||
|
||||
|
|
Loading…
Reference in New Issue