diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-05-15 00:11:54 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-05-15 00:11:54 +0300 |
commit | f4902fa268862c9c024b6d68a8b848dd00d2cd41 (patch) | |
tree | 92fcefef8288ae221f49eb98af19d80eacf0752f /source/blender/draw/modes | |
parent | 777a546c0c789648f0f75315333d99e58050cd09 (diff) |
Code style cleanup: `make format`
Diffstat (limited to 'source/blender/draw/modes')
-rw-r--r-- | source/blender/draw/modes/edit_mesh_mode.c | 6 | ||||
-rw-r--r-- | source/blender/draw/modes/paint_texture_mode.c | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/draw/modes/edit_mesh_mode.c b/source/blender/draw/modes/edit_mesh_mode.c index b94848cdd98..ee2d6239c41 100644 --- a/source/blender/draw/modes/edit_mesh_mode.c +++ b/source/blender/draw/modes/edit_mesh_mode.c @@ -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) { diff --git a/source/blender/draw/modes/paint_texture_mode.c b/source/blender/draw/modes/paint_texture_mode.c index d0594241f7a..e99a0c0dab2 100644 --- a/source/blender/draw/modes/paint_texture_mode.c +++ b/source/blender/draw/modes/paint_texture_mode.c @@ -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); |