replaced "=" with Import(..) in ImportLocal of P().

Note: this means that ImportLocal converts the type of vertex position.
This commit is contained in:
ganovelli 2008-08-07 16:14:45 +00:00
parent 523634a27b
commit b284013486
1 changed files with 1 additions and 1 deletions

View File

@ -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);}