fixed import of vertex texcoord component

This commit is contained in:
Luigi Malomo 2019-12-10 17:02:24 +01:00
parent 7f5ebbd2c5
commit 93abca0369
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ public:
TexCoordType &T() { return _t; }
TexCoordType cT() const { return _t; }
template < class RightValueType>
void ImportData(const RightValueType & rVert ) { if(rVert.IsTexCoordEnabled()) T() = rVert.cT(); TT::ImportData( rVert); }
void ImportData(const RightValueType & rVert ) { if(rVert.IsTexCoordEnabled()) T().Import(rVert.cT()); TT::ImportData(rVert); }
static bool HasTexCoord() { return true; }
static void Name(std::vector<std::string> & name){name.push_back(std::string("TexCoord"));TT::Name(name);}