18 if (
format.attr_len == 0) {
29 for (const int face_index : range) {
30 const BMFace &face = *BM_face_at_index(&const_cast<BMesh &>(bm), face_index);
31 vbo_data[face_index] = {};
32 mesh_render_data_face_flag(mr, &face, offsets, vbo_data[face_index]);
37 if (mr.orig_index_face) {
38 const Span<int> orig_index_face(mr.orig_index_face, mr.faces_num);
40 for (const int face : range) {
42 if (orig_index_face[face] == ORIGINDEX_NONE) {
45 const BMFace *orig_face = bm_original_face_get(mr, face);
46 mesh_render_data_face_flag(mr, orig_face, offsets, vbo_data[face]);