objLoader potential error

on line 56 of ofxObjLoader.cpp we have:

f >> texCoords.back().z;

from the objs i’ve seen out of maya, the vt (texture coords) are in UVs, which are 2-dimensional. therefore, searching for another float to fill the z position will find string vt, skip to the next line, and essentially ignore the rest of the file since it is offset by a character.

// f >> texCoords.back().z;

successfully goes through the rest of the file.

this seems to be correct to me, but please let me know if there’s an error or reason for searching for a non-existent texCoord z value

k