Added support for both triangle vertices and quad vertices in one model.