cyrillef / FBX-glTF

FBX glTF importer/exporter plug-in and converter.
MIT License
210 stars 50 forks source link

Accessor type mismatch #9

Open VladSerhiienko opened 8 years ago

VladSerhiienko commented 8 years ago

In file IOglTF.h in function

template<class T>
/*static*/ const utility::char_t *IOglTF::accessorType (int size, int dim)

there is an error in line 194, there should be szIVEC4 instead of szIVEC2.

case 4: return (type == FLOAT ? szVEC4 : (type == INT ? szIVEC4 : szBVEC4)) ;