Commit: 7d4d9e9dbd36023134c301fc12d2c21e6210d5a0
Author: Campbell Barton
Date:   Thu Dec 13 12:30:38 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB7d4d9e9dbd36023134c301fc12d2c21e6210d5a0

Cleanup: style

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

M       source/blender/blenkernel/intern/customdata.c
M       source/blender/draw/intern/draw_manager_exec.c
M       source/blender/editors/transform/transform_gizmo_3d.c

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

diff --git a/source/blender/blenkernel/intern/customdata.c 
b/source/blender/blenkernel/intern/customdata.c
index 64a3cbe0935..1fbeaf67596 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -1197,7 +1197,7 @@ static void layerDefault_mvert_skin(void *data, int count)
 static void layerCopy_mvert_skin(const void *source, void *dest,
                                  int count)
 {
-       memcpy(dest, source, sizeof (MVertSkin) * count);
+       memcpy(dest, source, sizeof(MVertSkin) * count);
 }
 
 static void layerInterp_mvert_skin(
diff --git a/source/blender/draw/intern/draw_manager_exec.c 
b/source/blender/draw/intern/draw_manager_exec.c
index 985c4a73775..ecbd94e24ee 100644
--- a/source/blender/draw/intern/draw_manager_exec.c
+++ b/source/blender/draw/intern/draw_manager_exec.c
@@ -348,7 +348,8 @@ void drw_state_set(DRWState state)
                if (CHANGED_ANY_STORE_VAR(
                        DRW_STATE_OFFSET_POSITIVE |
                        DRW_STATE_OFFSET_NEGATIVE,
-                       test)) {
+                       test))
+               {
                        if (test) {
                                glEnable(GL_POLYGON_OFFSET_FILL);
                                /* Stencil Write */
diff --git a/source/blender/editors/transform/transform_gizmo_3d.c 
b/source/blender/editors/transform/transform_gizmo_3d.c
index 11d8949750d..97df4a68af9 100644
--- a/source/blender/editors/transform/transform_gizmo_3d.c
+++ b/source/blender/editors/transform/transform_gizmo_3d.c
@@ -878,11 +878,11 @@ int ED_transform_calc_gizmo_stats(
                                                        totsel++;
                                                }
                                                if ((ebo->flag & BONE_ROOTSEL) 
&&
-                                                       /* don't include same 
point multiple times */
-                                                       ((ebo->flag & 
BONE_CONNECTED) &&
-                                                        (ebo->parent != NULL) 
&&
-                                                        (ebo->parent->flag & 
BONE_TIPSEL) &&
-                                                        EBONE_VISIBLE(arm, 
ebo->parent)) == 0)
+                                                   /* don't include same point 
multiple times */
+                                                   ((ebo->flag & 
BONE_CONNECTED) &&
+                                                    (ebo->parent != NULL) &&
+                                                    (ebo->parent->flag & 
BONE_TIPSEL) &&
+                                                    EBONE_VISIBLE(arm, 
ebo->parent)) == 0)
                                                {
                                                        
calc_tw_center_with_matrix(tbounds, ebo->head, use_mat_local, mat_local);
                                                        totsel++;
@@ -1303,8 +1303,8 @@ void drawDial3d(const TransInfo *t)
                mat_basis[2][3] = -dot_v3v3(mat_basis[2], mat_basis[3]);
 
                if (ED_view3d_win_to_3d_on_plane(
-                       t->ar, mat_basis[2], 
(float[2]){UNPACK2(t->mouse.imval)},
-                       false, mat_basis[1]))
+                           t->ar, mat_basis[2], 
(float[2]){UNPACK2(t->mouse.imval)},
+                           false, mat_basis[1]))
                {
                        sub_v3_v3(mat_basis[1], mat_basis[3]);
                        normalize_v3(mat_basis[1]);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to