replaced "=" with Import(..) in ImportLocal of P().
Note: this means that ImportLocal converts the type of vertex position.
This commit is contained in:
parent
523634a27b
commit
b284013486
|
@ -163,7 +163,7 @@ public:
|
||||||
CoordType &UberP() { return _coord; }
|
CoordType &UberP() { return _coord; }
|
||||||
|
|
||||||
template < class LeftV>
|
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 bool HasCoord() { return true; }
|
||||||
static void Name(std::vector<std::string> & name){name.push_back(std::string("Coord"));T::Name(name);}
|
static void Name(std::vector<std::string> & name){name.push_back(std::string("Coord"));T::Name(name);}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue