[Bf-blender-cvs] [f4902fa2688] master: Code style cleanup: `make format`

Dalai Felinto noreply at git.blender.org
Tue May 14 23:14:53 CEST 2019


Commit: f4902fa268862c9c024b6d68a8b848dd00d2cd41
Author: Dalai Felinto
Date:   Tue May 14 18:11:54 2019 -0300
Branches: master
https://developer.blender.org/rBf4902fa268862c9c024b6d68a8b848dd00d2cd41

Code style cleanup: `make format`

===================================================================

M	source/blender/draw/modes/edit_mesh_mode.c
M	source/blender/draw/modes/paint_texture_mode.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list