Code style cleanup: `make format`

This commit is contained in:
Dalai Felinto 2019-05-14 18:11:54 -03:00
parent 777a546c0c
commit f4902fa268
2 changed files with 4 additions and 5 deletions

View File

@ -713,9 +713,9 @@ static void EDIT_MESH_cache_populate(void *vedata, Object *ob)
if (do_occlude_wire || do_in_front) {
geom = DRW_cache_mesh_surface_get(ob);
DRW_shgroup_call(do_in_front ? g_data->depth_shgrp_hidden_wire_in_front :
g_data->depth_shgrp_hidden_wire,
geom,
ob->obmat);
g_data->depth_shgrp_hidden_wire,
geom,
ob->obmat);
}
if (vnormals_do) {

View File

@ -316,8 +316,7 @@ static void PAINT_TEXTURE_cache_populate(void *vedata, Object *ob)
for (int i = 0; i < mat_nr; i++) {
const int index = use_material_slots ? i : 0;
if ((i < me->totcol) && stl->g_data->shgroup_image_array[index]) {
DRW_shgroup_call(
stl->g_data->shgroup_image_array[index], geom_array[i], ob->obmat);
DRW_shgroup_call(stl->g_data->shgroup_image_array[index], geom_array[i], ob->obmat);
}
else {
DRW_shgroup_call(stl->g_data->shgroup_fallback, geom_array[i], ob->obmat);