This can be fixed in triangle_from_face_components by checking for the existence of a normals index in the same way you do a textures index. normal = normal_index ? normals[normal_index-1] : nil
This can be fixed in triangle_from_face_components by checking for the existence of a normals index in the same way you do a textures index.
normal = normal_index ? normals[normal_index-1] : nil