Fixed code so it doesn't sefault when loading .obj files with no texcoords defined.